You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2015/08/24 14:27:45 UTC

[jira] [Created] (NET-581) SimpleSMTPHeader fails to supply the required Date: header

Sebb created NET-581:
------------------------

             Summary: SimpleSMTPHeader fails to supply the required Date: header
                 Key: NET-581
                 URL: https://issues.apache.org/jira/browse/NET-581
             Project: Commons Net
          Issue Type: Bug
            Reporter: Sebb


According to RFC 5322 [1] (previously 2822, 822) the message headers MUST include both the From: and Date: (orig-date) fields.

However this is not provided by SimpleSMTPHeader#toString()

The code should be amended to generate this if the user has not supplied a Date: header.

[1] https://tools.ietf.org/html/rfc5322#section-3.6



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)