[
https://issues.apache.org/jira/browse/EMAIL-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15076586#comment-15076586
]
Siegfried Goeschl commented on EMAIL-160:
-----------------------------------------
The current code you can find here
* https://github.com/sgoeschl/commons-email/tree/EMAIL-160
* Please note that the underlying "java.net.IDN" being used is only available
from JDK 1.6 onwards
* Added a ".gitignore" to keep me sane
> Add Support for International Domain Names
> ------------------------------------------
>
> Key: EMAIL-160
> URL: https://issues.apache.org/jira/browse/EMAIL-160
> Project: Commons Email
> Issue Type: Improvement
> Affects Versions: 1.4
> Reporter: Siegfried Goeschl
> Assignee: Siegfried Goeschl
> Fix For: 1.5
>
>
> Recently I needed to send an email to "info@gül.co.at" and failed with
> {code}
> org.apache.commons.mail.EmailException: javax.mail.internet.AddressException:
> Domain contains control or whitespace in string ``info@gül.co.at''
> at org.apache.commons.mail.Email.createInternetAddress(Email.java:1941)
> at org.apache.commons.mail.Email.setFrom(Email.java:749)
> at org.apache.commons.mail.Email.setFrom(Email.java:732)
> at org.apache.commons.mail.Email.setFrom(Email.java:712)
> {code}
> The problem is that I would need to escape the german special characters in
> the domain name part and I suggest to move that into commons-email
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)