You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Rémi Kowalski (Jira)" <se...@james.apache.org> on 2020/03/17 15:49:00 UTC

[jira] [Created] (JAMES-3120) RemoveMimeHeader should not save mail if doing nothing

Rémi Kowalski created JAMES-3120:
------------------------------------

             Summary: RemoveMimeHeader should not save mail if doing nothing
                 Key: JAMES-3120
                 URL: https://issues.apache.org/jira/browse/JAMES-3120
             Project: James Server
          Issue Type: Improvement
    Affects Versions: 3.5.0
            Reporter: Rémi Kowalski


If the mailet save the mail after having removed a header when there is invalid headers in the mail, then javax.mail will fail to save the mail and the mailet will throw and stop the processing of the mail.

We should not try to save the mail when no header has been removed



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org