Message missing SMTP Header From?? -Error
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) 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
participants (1)
-
saravanan annamalai