[ https://issues.apache.org/jira/browse/EMAIL-14?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471456 ]
Ben Speakmon commented on EMAIL-14: ----------------------------------- I've submitted a patch for this issue in EMAIL-54. > [email] not support content charset gb2312 > ------------------------------------------- > > Key: EMAIL-14 > URL: https://issues.apache.org/jira/browse/EMAIL-14 > Project: Commons Email > Issue Type: Bug > Affects Versions: 1.0 > Environment: Operating System: other > Platform: Other > Reporter: locka > Attachments: commons-email-utf8.patch.txt, patch.java > > > when i try the example : > Email email=new SimpleEmail(); > email.setHostName("129.1.1.129"); > email.setAuthentication("admin","1"); > email.addTo("[EMAIL PROTECTED]", "wjq"); > email.setFrom("[EMAIL PROTECTED]", "Me"); > email.setCharset("gb2312"); > email.setSubject("²âÊÔ¼òµ¥Óʼþ"); > email.setMsg("ÕâÊDzâÊÔ¼òµ¥Óʼþ"); > email.send(); > the received mail content like "????????????" ,when change Email.TEXT_PLAIN > = "text/plain" to TEXT_PLAIN = "text/plain;charset=gb2312" , all are right -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]