praba kar wrote:

> --- Tim Williams <[EMAIL PROTECTED]> wrote:
>>Why don't you want to use smtplib ?
> 
> In Php we can build a Mail Message by
> Mail_mime class and send this message by
> Mail::Factory's class send Method. Here Php
> doesn't use any smtp modules. Like that
> In Python I used email.Message class to
> build Mail Message and Now I am searching
> modules to send this message as mail.

You can still use smtplib:

msg = email.Message()
...
smtp = smtplib.SMTP(...)
smtp.sendmail(from, to, msg.as_string())

-- 
If I have been able to see further, it was only because I stood
on the shoulders of giants.  -- Isaac Newton

Roel Schroeven
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to