My application now can send an email. In that application sender can send both html format and non-html format. But right now I'm facing a problem when I want to send a non html format, for example the sender send an email the content like below:
But, the recipient will receive it like this, it supposely like above :
The List ITEM A ITEM B ITEM C
It not receive like the original content.
Please help me..
The below code work for html format but look like not for non-html. What I should do, for differentiate between html and non-html when I want send the content?
To send content here is the code:
Multipart mp = new MimeMultipart();
MimeBodyPart htmlPart = new MimeBodyPart();