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

Add Support for International Domain Names

    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

        1. EMAIL-160.patch
          13 kB
          Siegfried Goeschl

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: