So say we have this in body of an email message:
body = “Hi John, thank you”;
when encoding that into
Message.BodyEncoding = Encoding.ASCII;
the return is ?Hi John, thank you?
how can I avoid this? I used other encodings from System Encoding but they do not resolve the problem.
Of course a work around would be to replace the right and left quotes with simple double quotes...
Can you tell me an alternative?
The answer was:
Encoding.GetEncoding("iso-8859-1");