writing a body using email module

Steve Holden sholden at holdenweb.com
Mon Apr 22 07:56:39 EDT 2002


"B" <martin_byrne2 at yahoo.co.uk> wrote in message
news:508cb8ae.0204220123.493c35be at posting.google.com...
> Hi,
>
> I've recently been looking at the relativly new email module. I've
> been able to create the email with to,from,subject and attachments but
> I cant for the life of me figure out how to write the body of the
> mail.
>
> Can anyone help me out with this?
>

Looks (from the docs, I've never used this library) like you need to call
the add_payload() method with your message string as the argument.

regards
 Steve
--

home: http://www.holdenweb.com/    book: http://pydish.holdenweb.com/pwp/







More information about the Python-list mailing list