Sending email in Twisted (This should *not* be so hard to find...)
Written by
on
in
Snaking.
As D'Arcy was winding down his work on the EFT2 server, he asked the very obvious question "how does one send email in Twisted". It took me something like 30 minutes to track down the proper response. Once you know where the function is, it's trivial, but finding out which module/function to use is a serious PITA.
For the record, you want:
twisted.protocols.smtp.sendmail
Which, I gather, can be used with the email module for formatting the messages to be sent.
Pingbacks
Pingbacks are closed.
Comments
Comments are closed.