You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Siegfried Goeschl (JIRA)" <ji...@apache.org> on 2016/01/02 14:27:39 UTC

[jira] [Created] (EMAIL-160) Support for International Domain Names

Siegfried Goeschl created EMAIL-160:
---------------------------------------

             Summary: 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 ``from@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)