Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Help on JavaMail - special character in subject

 
Danny Chen
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
I encounter problem when I put special characters in subject. Ex. String subject = �test � ��. Then mimeMessage.setSubject(subject). I sent the email to my company account and hotmail account, it worked fine. But I sent to yahoo account, it turned out �test_�_�� . (adding underscore in space). I tried mimeMessage.setSubject(subject,�iso-8895-1�), still not working.
I would appreciate any help.
 
eammon bannon
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It must be something to do with the character encoding Yahoo is using to display the message.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!