This project is read-only.

Receive email with HTML format

Jul 23, 2012 at 12:09 PM

Hello, first of all I must tell you that I'm sorry for my bad English writing...

I need your helps to receive emails with HTML format. For example I want to see color, text style and... in my received mail!

Now I just can receive mails with "BodyText", so please help and tell me how I can receive emails with HTML tags...



this is mail:


I wanna receive:



tnx :X

Jul 23, 2012 at 12:33 PM

See this article.


Jul 23, 2012 at 4:01 PM

Thank you dude, this code helped me :)


        if (mg.IsHtml == true)
            htmlText = mg.BodyText;
            foreach (var ct in mg.Contents)
                if (ct.IsHtml == true) 
                    htmlText = ct.BodyText;
    this.Label1.Text = htmlText;