13 May
2002
13 May
'02
9:50 p.m.
Thanks, it works but... Need to put explicitely \r\n between 2 header lines (\n only don't work !): fullmail = ("To: someone@somewhere.com\r\n" "From: joe@bar.com\r\n" "Subject: No news...\r\n\r\n" "...Is good news") mh = container.mailhost_list()[0] mh.send(fullmail, encoding="quoted-printable") return "Done..." ----- Original Message ----- From: "Tino Wildenhain" <tino@wildenhain.de> To: "Gilles Lenfant" <gilles@objectis.net>; <zope@zope.org> Sent: Tuesday, May 07, 2002 5:16 AM Subject: Re: [Zope] "To: undisclosed recipient;:" when sending mail througha script !!! [...]