Probléme mail en format html
salut,
je voudrais envoyer un mail automatique, j'utilise visual studio.net 2005 (en c#)
mon problème est que mon email est en format html, les balises content-Language...fr,text/html ne sont pas reconnues
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
...
email.Body =
"<html>"
+ "<head>"
+ "<meta http-equiv=" + Content - Language + " content=" + fr + ">"
+ "<meta http-equiv=" + Content - Type + " content=" + text / html; charset = windows - 1252 + ">"
+ "</head>"
+ "<body>"
+ "<p>test envoi mail automatique</p>"
+ "</body>"
+ "</html>";
email.IsBodyHtml = true; |
Merci pour votre aide