Mark Sapiro wrote:

>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.

Actually, I looked a little more closely, and in your particular case
above it seems that at least the Message-Id: header was not added
until the message reached gmail.com.

-- 
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