Is this a mimetools/rfc822 bug?

Barry A. Warsaw barry at digicool.com
Mon Jun 25 16:53:32 EDT 2001


>>>>> "SK" == Sheila King <sheila at thinkspot.net> writes:

    SK> But, according to the RFC's a header is required. A message
    SK> body is not required.

    SK> According to RFCs I recall: Your message header must have at
    SK> least one of the following headers: To, Bcc, or CC. I believe
    SK> that is the minimal header: any one of the To-type fields. No
    SK> other headers are required, and no message body is required.

True, but the rfc822 module doesn't enforce any of these requirements,
AFAIK.  So it's really much more of an issue of the rfc822.py module's
API than it is of the actual RFC.

Cheers,
-Barry




More information about the Python-list mailing list