[Zope-CMF] Mailhost problem???

Dieter Maurer dieter@handshake.de
Sat, 30 Mar 2002 21:38:08 +0100


Kevin Carlson writes:
 > I am using a Python script to send mail from a workflow.  The error message
 > is below.   The message culminates in "SMTPDataError: (503, '5.0.0 Need RCPT
 > (recipient)')
 > ".  The code that I am using to send the email is:
 > 
 > context.MailHost.send(url, mto=to_list, mfrom=usr.getProperty('email'),
 > subject="New content")
 > 
 > To me is looks as if I am specifying the recipient in the mfrom keyword --
 > any ideas?
The "Recipient" comes from the "mto". Maybe the "to_list" happens to be
empty?


Dieter