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] [Created] (EMAIL-160) Support for International Domain Names
Date Sat, 02 Jan 2016 13:27:39 GMT
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)

Mime
View raw message