commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siegfried Goeschl (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (EMAIL-160) Add Support for International Domain Names
Date Mon, 01 Feb 2016 21:51:39 GMT

     [ https://issues.apache.org/jira/browse/EMAIL-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Siegfried Goeschl resolved EMAIL-160.
-------------------------------------
    Resolution: Fixed

> 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
>
>         Attachments: EMAIL-160.patch
>
>
> 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)

Mime
View raw message