pound sign is not working in mail content using java.mail package?

Posted by kumar kasimala on Stack Overflow See other posts from Stack Overflow or by kumar kasimala
Published on 2011-01-13T06:33:07Z Indexed on 2011/01/13 6:53 UTC
Read the original article Hit count: 348

Filed under:
|
|

HI all,

I am using javax.mail packaage MINEMESSAGE,MimeMultipart class to send a mail, but even though I mention type utf-8, unicode characters are not working in body text. like pound sign is not working. please help what to do. here is my message headers

To: [email protected]

Message-ID: <875158456.1.1294898905049.JavaMail.root@nextrelease>

Subject: My Site Free Trial - 5 days left

MIME-Version: 1.0
Content-Type: multipart/mixed; 
 boundary="----=_Part_0_1733237863.1294898905008"

MyHeaderName: myHeaderValue

Date: Thu, 13 Jan 2011 06:08:25 +0000 (UTC)

------=_Part_0_1733237863.1294898905008

Content-Type: text/html; charset=UTF-8

Content-Transfer-Encoding: quoted-printable

© Stack Overflow or respective owner

Related posts about java

Related posts about unicode