Hi,
I have a weird issue that I cannot figure out.... In one of my custom modules, built for for a client website - admins can store e-mail templates - they can format the e-mail however they like (colors, images, etc.)
Their Production web site is running DNN 5.4.1 - and the e-mails are sent with perfect formatting (i.e. exactly what is in the template).
However in version 5.6.3 and in 6.x - all the formatting is dropped when the e-mail is sent (using the exact same template).
Has anyone else encountered this? I can't figure out what is causing this behavior... It must be something in the way e-mails are sent in DNN...
Here is the code used when the formatted e-mail is sent:
DotNetNuke.Services.Mail.Mail.SendMail(strFrom, strRecipient, String.Empty, strSubject, strBody, strAttachment, Services.Mail.MailFormat.Html, SMTPServer, SMTPAuthentication, SMTPUsername, SMTPPassword)