Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-1818

SendMailTransformer misses closing tag when recipient address is malformed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Blocks: Mail
    • None

    Description

      When a recipient address contains an illegal character (, ; <space> a@b@com etc), an exception is being thrown by method sendMail(List newAddresses, Transport trans).
      The execution of the try in method sendMail() is stopped which may have created a <email:result> tag.
      No </email:result> end tag is created when this occurs.

      Attachments

        1. sendmail-exceptions.diff
          1 kB
          Simone Gianni
        2. sendmail-exceptions2.diff
          2 kB
          Simone Gianni
        3. SendMailTransformer.diff
          3 kB
          Jasha Joachimsthal

        Activity

          People

            Unassigned Unassigned
            jasha Jasha Joachimsthal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: