Hi, I used the JavaMail API in a feedback form usnig JSP. All went well,but it has been discovered that if french accents (characters) are used in the form we get an error message: "This message uses a character set that is not supported by the Internet Service. To view the original message content, open the attached message. If the text doesn't display correctly, save the attachment to disk, and then open it using a viewer that can display the original character set." Does something extra have to be added the the Javamail or is it a server end problem. Any ideas? Thanks
What exactly is throwing that error? (Sure seems like an awfully friendly message for a servlet engine) What I'm getting at is that it sounds like the error you're getting probably doesn't have anything to do with JavaMail, but rather with the mail server you're sending from or to... does that sound right?
Joined: Feb 11, 2001
It was solved by adding the following line, the french characters needs it I guess message.setText(out1+ "\n" , "UTF-8") ; Thanks for your reply