[Zope-CMF] Mailhost problem???

Kevin Carlson khcarlso@bellsouth.net
Mon, 1 Apr 2002 22:17:49 -0500

Thanks, Bill.  No hyphens in the email addresses -- this one was being
caused by a "from" address that wasn't allowed to send through my SMTP
server.  Thanks for the heads up on the hyphens...


-----Original Message-----
From: zope-cmf-admin@zope.org [mailto:zope-cmf-admin@zope.org]On Behalf
Of Bill Anderson
Sent: Monday, April 01, 2002 10:04 PM
To: zope-cmf group
Subject: Re: [Zope-CMF] Mailhost problem???

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
> is below.   The message culminates in "SMTPDataError: (503, '5.0.0 Need
> (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).

Zope-CMF maillist  -  Zope-CMF@zope.org

See http://www.zope.org/Products/PTK/Tracker for bug reports and feature