Uploaded image for project: 'Commons Email'
  1. Commons Email
  2. EMAIL-160

Add Support for International Domain Names

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.5
    • Labels:
      None

      Description

      Recently I needed to send an email to "info@gül.co.at" and failed with

      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)
      

      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

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              sgoeschl Siegfried Goeschl
              Reporter:
              sgoeschl Siegfried Goeschl

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment