[Tutor] smtplib mail header problem

dave s pythontut at pusspaws.net
Wed Dec 7 23:36:00 CET 2005

On Tuesday 06 December 2005 22:23, Liam Clarke-Hutchinson wrote:
> Okay, just checked the docs -
> "sendmail( from_addr, to_addrs, msg[, mail_options, rcpt_options])
> Note: The from_addr and to_addrs parameters are used to construct the
> message envelope used by the transport agents. The SMTP does not modify the
> message headers in any way."
> So my guess is that the spam agent is checking that from_addr, and getting
> an invalid email address and spitting the dummy.
> Most ISPs won't allow an invalid from_addr, although mine does..
> Regards,
> Liam Clarke-Hutchinson

Thanks for that I 'pydoc smtplib' but got somewhat confused :)


More information about the Tutor mailing list