[Twisted-Python] Sending email asynchronously
Bob Ippolito
bob at redivi.com
Thu Feb 6 21:40:58 EST 2003
On Thursday, Feb 6, 2003, at 21:08 America/New_York, Glyph Lefkowitz
wrote:
>
> On Thu, 6 Feb 2003 15:23:06 -0500, Bob Ippolito <bob at redivi.com> wrote:
>
>> I've just committed a modification of sendEmail to do what I want, it
>> can now
>> send HTML email (with a text/plain fallback) and use 7bit encoding
>> when it
>> makes sense. :)
>
> Hmm. It looks like we are starting to implement a substantial subset
> of the
> "email" module in Python 2.2. This is available for 2.1 at
> http://mimelib.sourceforge.net/ . I would recommend that anyone
> developing
> Twisted applications that want email integration use that module
> instead of
> using these features of sendEmail -- I would like to see this code go
> away.
Adding four lines of code to twisted is a lot easier than
downloading/learning some other module, don't you think?
As-is, the email module is going to cover a good 95% of stuff you need
to do when sending mail
-bob
More information about the Twisted-Python
mailing list