commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Updated: (EMAIL-14) [email] not support content charset gb2312
Date Sat, 17 Feb 2007 09:54:06 GMT

     [ 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


Mime
View raw message