I'm able to send message body in Unicode with the following, which is read correctly when email is received.
msg.setContent("خیر کی بات", "text/html");
but I'm unable to send the subject as a unicode text as following,
msg.setSubject("خیر کی بات", "UTF-8");
the actually raw unicode characters appear instead
Edited by: nkamir on Jan 8, 2010 10:51 AM