Hi folks:
So I'm making my own contact form. Users fill out fields, and hit a submit button. THe system then sends an email.
I'm using this:
DotNetNuke.Services.Mail.Mail.SendMail(FromAddress,SenderAddress,ToAddress,Subject,Body,string.Empty,"HTML",string.Empty,string.Empty,string.Empty,string.Empty);
THe thing is, when messages come in to my Outlook Inbox, the message header says it's not Content-type:text/html and the display of the content is pretty ugly.
So i'm wondering what I"m doing wrong here. The content I have is really nothing more than a couple styled divs. If I view the message via HOTMAIL, it looks great. But embedded in outlook it's just all wrong.
I don't know for sure, but I think it's because the message isn't being send with the correct content type.
Would someone be willing to offer some insights? In my code (above), I think I'm setting the "HTML" the way it should. But when I look at message source of a delivered email, it's content-type:multipart/alternative.