You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2007/02/17 10:54:06 UTC
[jira] Updated: (EMAIL-14) [email] not support content charset
gb2312
[ https://issues.apache.org/jira/browse/EMAIL-14?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell updated EMAIL-14:
-------------------------------
Fix Version/s: 1.1
> [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
> Fix For: 1.1
>
> 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("wangjianquan@eastsoft.com.cn", "wjq");
> email.setFrom("admin@wjq.com", "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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org