Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > System.Net.Mail.MailMessage TransferEncoding

Thread Tools

System.Net.Mail.MailMessage TransferEncoding

Gerald S.
Posts: n/a
MailMessage message = new MailMessage(from, to);
message.Body = "Message body";
message.BodyEncoding = System.Text.Encoding.UTF8;
message.Subject = "Subject";
message.SubjectEncoding = System.Text.Encoding.UTF8;

When the above message is sent, it's encoded by default with "base64",
according to

Now I'd like to have the message encoded with "quoted-printable". Is there
any way to achieve this?

For example, Outlook Express uses quoted-printable with utf-8 by default.
Why can't I set TransferEncoding for the message body in ASP.NET 2.0?


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off