andyedinborough / aenetmail

C# POP/IMAP Mail Client
369 stars 153 forks source link

Html body recognize enanchements #47

Closed paolosanchi closed 12 years ago

paolosanchi commented 12 years ago

-Added IsBodyHtml in implicit operator to System.Net.Mail.MailMessage -Applied Trim() to body to avoid the wrong interpretation of not trimmed empty body

this is related to the #46 and #45. Sorry for the duplication, but i used github for the first time

andyedinborough commented 12 years ago

No problem. You're using github just fine. :D

I didn't merge the pull request because I wanted to handle it slightly differently. First, I've been meaning to separate out Attachments from AlternateViews, and secondly, the check on Body can be done more simply with string.IsNullOrWhiteSpace(Body).

Thanks for the commit!