smtp and the From header field

Jeff jam at quark.emich.edu
Wed Dec 15 08:13:04 EST 1999


On Wed, Dec 15, 1999 at 12:39:09PM +0100, Asle Pedersen wrote:
> While testing the smtp library I have not been able to figure out how to use
> the different formats of the FROM header. It is usuall to place in addition
> to the email-address also the name of the person holding the address in the
> FROM field. Do anyone have experience in using the SMPT libray to place such
> information in the From field?
> Investigating the library it seems that it checks the from field for
> conformity with RFC822 but I don't think there is anything wrong
> syntactically in the data I'm placing there.
> 
> Asle Pedersen
> 

remember that SMTP is only the *transport* for the message, and what you are
transporting is an RFC822-type message (for which there is also a module, I
believe).. I would suggest checking dejanews for more information.

regards,
J
-- 
|| visit gfd <http://quark.emich.edu/>
|| psa member -- <http://www.python.org/psa/> 
|| New Image Systems & Services, Inc. <http://www.newimage.com/>




More information about the Python-list mailing list