Re: mail sending -- smtplib

2010-09-07 Thread Kurian Thayil
Got it fixed. It was a very silly mistake. mssg variable had each line with indent. Removed the indent and it worked. Regards, Kurian Thayil. On Tue, Sep 7, 2010 at 9:57 AM, Kurian Thayil wrote: > Hi All, > > I am a newbie in python. Just 2-3 days old wanting to learn this amazing > programming

mail sending -- smtplib

2010-09-06 Thread Kurian Thayil
Hi All, I am a newbie in python. Just 2-3 days old wanting to learn this amazing programming language. I was trying to send mails using smtplib module, so did some google and found a code snippet. The mail gets sent, but doesn't come in the right format when a for-loop is introduced (Not MIME stan

Re: Regarding Mail sending smtplib Module

2005-05-11 Thread Tim Williams
praba kar <[EMAIL PROTECTED]> 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 - " How >can I do this? . Why python give this line? . Mail >sending Module in php will not give this type

Re: Regarding Mail sending smtplib Module

2005-05-11 Thread Sion Arrowsmith
praba kar <[EMAIL PROTECTED]> 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 - " How >can I do this? . Why python give this line? . Mail >sending Module in php will not give this type

Regarding Mail sending smtplib Module

2005-05-11 Thread praba kar
Dear All, I have doubt regarding mail sending smtplib module. The below code is I used to send a mail. ## import email.Message import email.Utils import mimetypes import os,string fromAddr="[EMAIL PROTECTED]" toAddr= ["[EMAIL PROT