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.
posted 12 years ago
It must be something to do with the character encoding Yahoo is using to display the message.