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

Add Support for International Domain Names

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

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4
    • 1.5
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sgoeschl Siegfried Goeschl
            sgoeschl Siegfried Goeschl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment