Can't Get Email Interface Working
Eric Price
soyouthinkimgonnalikethis at hotmail.com
Sat Apr 7 20:53:12 EDT 2007
>From: hlubenow <hlubenow2 at gmx.net>
>To: python-list at python.org
>Subject: Re: Can't Get Email Interface Working
>Date: Sun, 08 Apr 2007 01:59:53 +0200
>
>You can use it just like that:
>
>-----------------------------------
>
>from simplemail import Email
>Email(
> from_address = "sender at domain.net",
> to_address = "receiver at domain.net",
> subject = "Subject",
> message = "Text of the message"
>).send()
>
That's easy enough ;)
I ran it from the python interpreter and it returned "True". I presume
that's a good sign ;)
Thanks,
Eric
_________________________________________________________________
Need a break? Find your escape route with Live Search Maps.
http://maps.live.com/?icid=hmtag3
More information about the Python-list
mailing list