Re: Newbie: trying to twist my head around twisted (and python)

2006-10-20 Thread Jean-Paul Calderone
On Fri, 13 Oct 2006 18:44:35 +0200, Jan Bakuwel <[EMAIL PROTECTED]> wrote: >Jean-Paul Calderone wrote: > >> The return value of eomReceived is used to determine whether to signal to >> the SMTP client whether the message has been accepted. Regardless of your >> application logic, if you are taking

Re: Newbie: trying to twist my head around twisted (and python)

2006-10-13 Thread Jan Bakuwel
Jean-Paul Calderone wrote: > The return value of eomReceived is used to determine whether to signal to > the SMTP client whether the message has been accepted. Regardless of your > application logic, if you are taking responsibility for the message, you > should return a successful result. If al

Re: Newbie: trying to twist my head around twisted (and python)

2006-10-11 Thread Bjoern Schliessmann
Jan Bakuwel wrote: > Does anyone know how I need to complete the code below so it > returns this mysterious "Deferred result" and runs? Without having looked at your code at this late hour -- perhaps a short explanation of what a Deferred is will help. If a function wants to returns something th

Re: Newbie: trying to twist my head around twisted (and python)

2006-10-11 Thread Jan Bakuwel
Hoi Jean-Paul, > The return value of eomReceived is used to determine whether to signal to > the SMTP client whether the message has been accepted. Regardless of your > application logic, if you are taking responsibility for the message, you > should return a successful result. If all of your pr

Re: Newbie: trying to twist my head around twisted (and python)

2006-10-11 Thread Jean-Paul Calderone
On Wed, 11 Oct 2006 17:15:09 +0200, Jan Bakuwel <[EMAIL PROTECTED]> wrote: >Hoi all, > >Please see below a small piece of python code that resembles a >smtpserver using the twisted framework. The code is based on the example >smtp server discussed in Twisted Network Programming Essentials. >The unm

Newbie: trying to twist my head around twisted (and python)

2006-10-11 Thread Jan Bakuwel
Hoi all, Please see below a small piece of python code that resembles a smtpserver using the twisted framework. The code is based on the example smtp server discussed in Twisted Network Programming Essentials. The unmodified example code can be found on the O'Reilly website: (http://examples.oreil