Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Help on JavaMail - special character in subject  RSS feed

 
Danny Chen
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
I encountered a 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!