« Return to Thread: Mail encoding?

Mail encoding?

by jschell :: Rate this Message:

Reply to Author | View in Thread

For the Mail Target it does not appear that "encoding" is implemented.

In Mail.cs there is a property for "Encoding".  It appears to be set when the configuration file is run.

However in the MailTarget code it doesn't use that property nor does it use the member variable "_encoding" (except in the Property code.)

Conversely the following code shows up in several places.

    msg.BodyEncoding = System.Text.Encoding.UTF8;

Modifying those to the following seems to allow it to work.

    msg.BodyEncoding = _encoding;


 « Return to Thread: Mail encoding?

LightInTheBox - Buy quality products at wholesale price!