Receive email with HTML format

Jul 23, 2012 at 11:09 AM

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...

 

Example:

this is mail:

Arma

I wanna receive:

<b>Arma</b>

 

tnx :X

Coordinator
Jul 23, 2012 at 11:33 AM

See this article.

http://www.codeproject.com/Articles/404066/Understanding-the-insides-of-the-POP3-mail-protoco

regards

Jul 23, 2012 at 3:01 PM

Thank you dude, this code helped me :)

 

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