Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-581

SimpleSMTPHeader fails to supply the required Date: header

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4
    • Component/s: None
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sebb@apache.org Sebb
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: