[
https://issues.apache.org/jira/browse/NET-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebb resolved NET-581.
----------------------
Resolution: Fixed
Fix Version/s: 3.4
URL: http://svn.apache.org/r1697406
Log:
NET-581 SimpleSMTPHeader fails to supply the required Date: header
Modified:
commons/proper/net/trunk/src/changes/changes.xml
commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SimpleSMTPHeader.java
commons/proper/net/trunk/src/test/java/org/apache/commons/net/smtp/SimpleSMTPHeaderTestCase.java
> 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
> Fix For: 3.4
>
>
> 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)