[Zope] Message missing SMTP Header From?? -Error

saravanan annamalai saravanan_anna at rediffmail.com
Mon Oct 27 07:06:22 EST 2003


An HTML attachment was scrubbed...
URL: http://lists.zope.org/pipermail/zope/attachments/20031027/fabef5f5/attachment.html
-------------- next part --------------

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)


inform_owner is a Page Template and it looks like this:
To:  <span tal:replace="options/send_to_address" />

From:  <span tal:replace="options/send_to_address" />

Subject:  A title

Content-Type:  text/plain; charset=<span tal:replace="here/portal_properties/site_properties/default_charset" />

BODY BODY


  I get error msg   
        Message missing SMTP Header 'From'.

 But i am able to use the method,
 mail_host.send(msg,from_addr,to_addr,subject)

Can anyone tell me whats going wrong?. I have been trzing to find it for 2 days. without success..

Thanks and regards
Saravanan A

A.Saravanan,
WundtStrasse 7,Zi:9L1,
Dresden - 01217
Germany

Home:   0351-7997546
Mobile: 01797395091


More information about the Zope mailing list