Example
MailMessage.BodyEncoding = System.Text.Encoding.GetEncoding("Western European (ISO)")
By default the BodyEncoding property of the MailMessage class is us-ascii" and as we all know english language doesn't know what the heck is a letter with an accent.
>Hi Michel what can be diferent is encoding try to set the encoding in the vb.net App to Western European ISO since that's what outlook uses by default.
>
>
>>I have a VB.NET application whichs create emails. Some of that is read on the WorldClient, from MDaemon. The problem only relies on the email subject. If I create an email from Outlook and I put French characters in the subject, when the email arrives on WorldClient, the French characters are ok. However, if I put the same text in the VFP record and send that record from the VB.NET application, WorldClient is doing a weird conversion on those characters. The subject is the same source. There is no conversion. It is a simple as:
>>
>>
>>Test à Michel éèÉé
>>
>>
>>But, if I send the same VFP record into another email which uses Outlook, I can read the subject as is. The problem only relies on WorldClient combined with an email sent from VB.NET.
>>
>>What could be done differently in .NET that would cause this reaction?
Alexandre Palma
Senior Application Architect