Display French Chars in Text Content Type mail
843830Oct 4 2006 — edited Nov 10 2006Hi Guys,
I have ddifficulty in setting up the char encoding for the french Character display in a text message type.
Please check the code snippet below I use for the same
MimeMultipart mmp = new MimeMultipart("alternative");
MimeBodyPart mbp = new MimeBodyPart();
mbp.setText(textMsg);
mbp.setHeader("Content-Disposition", "inline");
mbp.setHeader("Content-Transfer-Encoding", "7bit");
mbp.setHeader("Content-Type", "text/plain; charset="
+ "ISO-8859-1");
mmp.addBodyPart(mbp);
Let me know what i am doing wrong to get the french characters in TEXT part of the email.
Thanks in advance for the help.