Sending Unicode using SMTPClient

Yash Sharma

Ranch Hand

Posts: 61

posted 13 years ago

I have a simple JSP that works as email form and sends me site feedback. I am actually looking for some means to take Unicode text input (say in Hindi language) from the user ensure that the text reaches my Inbox intact. Following is my code (indicative):

Problem is even if I change the text encoding to UTF-8, I get junk characters in the email. What should be done here? Thanks for yr time. [ June 28, 2004: Message edited by: Yash Sharma ]