[Zope] Message missing SMTP Header From?? -Error
Dieter Maurer
dieter at handshake.de
Tue Oct 28 15:16:36 EST 2003
saravanan annamalai wrote at 2003-10-27 12:06 -0000:
> Here is my (Python) Script:
>
> mail_text = container.inform_owner(send_to_address='saravan at eas.iis.fhg.de')
> mail_host = context.MailHost
> mail_host.send(mail_text)
> ...
> I get error msg
> Message missing SMTP Header 'From'.
Python (and by extension Zope) error messages are quite good.
You should read them.
The "send" above lacks a "from_addr".
> But i am able to use the method,
> mail_host.send(msg,from_addr,to_addr,subject)
Here, you do pass a "from_addr"...
--
Dieter
More information about the Zope
mailing list