Lukasz Szybalski wrote:
>
>Although that works to get what i created i also need to get :
>Date: Thu, 13 Apr 2006 11:11:17 -0700 (PDT)
>Message-Id: <[EMAIL PROTECTED]>
>
>Anyway to do it? Does smtplib have a way to return exact thing it is sending?

smtlib sends exactly what you give it. If you don't put Date: and
Message-Id: headers in the message you pass to smtplib, your outgoing
MTA adds them and the smtplib methods have no way to know what they
are.

If your application needs to know them, it has to create them and put
them in the message as suggested by Matthew in another reply.

-- 
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

_______________________________________________
Email-SIG mailing list
[email protected]
Your options: 
http://mail.python.org/mailman/options/email-sig/archive%40mail-archive.com

Reply via email to