[Zope-CMF] Mailhost problem???

Bill Anderson bill@libc.org
01 Apr 2002 20:04:08 -0700

On Fri, 2002-03-29 at 14:56, Kevin Carlson wrote:
> Hi,
> 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?

By any chance, is there a hyphen in any of the email addresses you are
sending to? I have found that seems to drop the To: header (ezmlm
settings I use require the email list address in the To: or Cc: header,
that's how I found it.)

Just something to look at.

Bill Anderson
Linux in Boise Club                  http://www.libc.org
Amateurs built the Ark, professionals built the Titanic.
Amateurs build Linux, professionals build Windows(tm).