28 Oct
2003
28 Oct
'03
8:16 p.m.
saravanan annamalai wrote at 2003-10-27 12:06 -0000:
Here is my (Python) Script:
mail_text = container.inform_owner(send_to_address='saravan@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