[Twisted-Python] smtp.SMTP help
rudy.schockaert at pandora.be
Thu Oct 2 01:55:29 EDT 2003
Itamar Shtull-Trauring wrote:
>On Thu, 02 Oct 2003 07:18:51 +0200
>Rudy Schockaert <rudy.schockaert at pandora.be> wrote:
>>I have been struggling with SMTP also. I noticed that there is a lot
>>changing in that part lately, that's why I was still patient and was
>>just waiting to see some doc pop up on the new way to use SMTP.
>>Could someone send a small example of how to use the news SMTP
>>module? Mayby an impementation of what Greg is trying to do would be
>IIRC it was quite trivial. Make a class MyDelivery implementing
>IMessageDelivery, and then
> delivery = MyDelivery()
>factory = protocol.ServerFactory()
>factory.protocol = MySMTP
This is trivival indeed. Now, let's see how I can change behaviour
dependant on where the message comes from (e.g. Intranet or Internet) or
who sent it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python