i am using a webMail object to sending email and i can send email but
the the mwssagw encoding is wrong and the received email is unreadible and each character replaced with '?' mark how i can correct it to use unicode encoding utf-8.
the code is this.
<%
MailMessage msgMail = new MailMessage();
Encoding unicode = Encoding.Unicode;
msgMail.BodyEncoding= unicode ;
msgMail.To ="
[email protected]";
msgMail.Cc = "
[email protected]";
msgMail.From = "
[email protected]";
msgMail.Subject = "Hi Chris, another mail";
msgMail.BodyFormat = MailFormat.Html;
msgMail.Subject = "ÃÃáÃã ÃÃæÃà Ãà ÃÃÃà ICT ÃÃÃÃÃá";
string strBody="̇̋";
msgMail.Body = strBody;
SmtpMail.Send(msgMail);
Response.Write("Email was queued to disk");
%>
thanx in advance. YoOrD