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

SimpleSMTPHeader fails to supply the required Date: header

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.4
    • None
    • 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

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: