DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15434>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15434 MimeMailer doesn't work properly with national charset ------- Additional Comments From [EMAIL PROTECTED] 2003-08-21 15:32 ------- While working on another email issue, I realized that the charset attribute should be used in the headers in the PlainMailer. So I have put this piece of code in PlainMailer. if (message.getCharset() != null) { mailMessage.setHeader("Content-Type", message.getMimeType() + "; charset=\"" + message.getCharset() + "\""); } else { mailMessage.setHeader("Content-Type", message.getMimeType()); } PlainMailer did not specify the charset before. I have tested this by sending to myself with ant an email message in hebrew. Works like a charm. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]