Regarding Mail sending smtplib Module

Tim Williams listserver at tdw.net
Wed May 11 11:10:34 EDT 2005


praba kar  <prabapython at yahoo.co.in> wrote:
>Here I want to avoid this line "Received: from unknown
>(HELO prabahar.enmail.com)     (59.92.13.47)  by
>mailserver with SMTP; 11 May 2005 10:09:11 -0000 " How
>can I do this? . Why python give this line? . Mail
>sending Module in php will not give this type line.

Received headers are added by the receiving server, not by smtplib

The "unknown" refers to the DNS PTR (ie hostname) or lack of one,  of the
machine/address that the email was received from.

HTH :)





More information about the Python-list mailing list