Menu

#9 TFmail lacks RFC-mandated Date: header

closed
nobody
None
5
2012-05-18
2004-04-21
Alan Miller
No

The RFCs for email messages indicate that there should
be a Date: field in the headers of each message, but
its absence seems to be a standard thing for
form-to-email scripts in Perl. Is there a particular
reason for leaving it out?

Apparently the format is defined in RFC 822 and updated
in RFC 1123 (switching to 4-digit years and
recommending numeric timezone offsets). The RFCs in
question are at http://www.faqs.org/rfcs/rfc822.html
(section 5, "DATE AND TIME SPECIFICATION") and
http://www.faqs.org/rfcs/rfc1123.html (section 5.2.14).

Discussion

  • Alan Miller

    Alan Miller - 2004-04-21

    Logged In: YES
    user_id=184755

    Argh, I'm an idiot - it's not nms-formmail, it's tfmail that
    doesn't have the date header.

     
  • Jonathan Stowe

    Jonathan Stowe - 2004-05-06

    Logged In: YES
    user_id=313586

    Generally (when using a standard MTA ) the Date header will
    be added by the MTA if it is missing - if you are using
    MIME::Lite with TFMail this also will add the header.

     

Log in to post a comment.