Re: smtp question

2005-01-06 Thread Tim Roberts
"Philippe C. Martin" <[EMAIL PROTECTED]> wrote: >Hi, > >I am testing the smtp module and have the following question: > >in the code below (taken from net sample) prior to adding the "Subject:" >field, the email client found the "From" and the "To". Without the >"Subject:" field on I get this: > >

Re: smtp question

2005-01-05 Thread Max M
Philippe C. Martin wrote: Hi, I am testing the smtp module and have the following question: in the code below (taken from net sample) prior to adding the "Subject:" field, the email client found the "From" and the "To". Without the "Subject:" field on I get this: Email client = Evolution: the "From

Re: smtp question - using email module

2005-01-05 Thread Philippe C. Martin
Thank you all for your help - an yes! the email module is _very_ nice. Regards, Philippe -- *** Philippe C. Martin SnakeCard LLC www.snakecard.com *** -- http://mail.python.org/mailman/listinfo/python-list

Re: smtp question

2005-01-05 Thread Mike Meyer
"Philippe C. Martin" <[EMAIL PROTECTED]> writes: > Hi, > > I am testing the smtp module and have the following question: > > in the code below (taken from net sample) prior to adding the "Subject:" > field, the email client found the "From" and the "To". Without the > "Subject:" field on I get thi

Re: smtp question

2005-01-05 Thread Kartic
Philippe, Looks like the problem lies where you have added the Subject header. You have terminated it with a \n\n and then your From and To headers. You may want to rewrite it as: server.sendmail(fromaddr, toaddrs, 'Subject:from python\r\n'+msg) Why dont you consider using the email module - ht

smtp question

2005-01-05 Thread Philippe C. Martin
Hi, I am testing the smtp module and have the following question: in the code below (taken from net sample) prior to adding the "Subject:" field, the email client found the "From" and the "To". Without the "Subject:" field on I get this: Email client = Evolution: the "From" field is blank Email