I am attempting to send an email to a gmail address using C# VS2012 .NET 4.5 System.Net.Mail.MailMessage.
The email get's sent but always has:
when I view the source of the email in the mail client (gmail web mail client).
I have tried every different combination I can think of with BodyEncoding, and BodyTransferEnconding and DeliveryFormat etc... but nothing can get rid of this quoted-printable.
The problem is that the CSS is not working in the email. The HTML renders ok, but not CSS is applied, and when I view the email source, I see that it has this 3D inserted after all the = signs and this is preventing my CSS from working.
f-8" />
...
The code I am using to send the email is as follows:
The HTML I am sending is loaded from a string that was serialized into the web.config and is as follows:
So I load this in and do a find and replace on the [] place holders.
How can I resolve this issue?
I even tried adding a header to set it to 7BIT:
It added this but still had the quoted-printable above it when I viewed the source of the email in gmail.
Regards,
Scott