MailHost.send formatting
what's the best way to format messageText if using <dtml-call "MailHost.send(...)">? this has proved a problem, if send() gets newlines or spaces in certain places it compleley messes up the message. ideas? thanks
if you don't know how a mail message body and its prepended headers are formatted you should use the simple_send method instead. it formats the message body for you and then calls send. jens On Sunday, Jan 12, 2003, at 06:49 US/Eastern, Patrick Stinson wrote:
what's the best way to format messageText if using <dtml-call "MailHost.send(...)">?
this has proved a problem, if send() gets newlines or spaces in certain places it compleley messes up the message. ideas?
thanks
Patrick Stinson wrote at 2003-1-12 11:49 -0000:
what's the best way to format messageText if using <dtml-call "MailHost.send(...)">?
this has proved a problem, if send() gets newlines or spaces in certain places it compleley messes up the message. ideas? RFC 822 tells you how internet messages must look like.
Dieter
From: "Patrick Stinson" <ajole-1@gci.net>
what's the best way to format messageText if using <dtml-call "MailHost.send(...)">?
this has proved a problem, if send() gets newlines or spaces in certain places it compleley messes up the message. ideas?
Which version of Zope are you using, and how did you format the message? send() allows you to format the RFC822 message, while simple_send() doesn't. Both *should* work with no special formatting at all if you call them with parameters.
participants (4)
-
Dieter Maurer -
Jens Vagelpohl -
Lennart Regebro -
Patrick Stinson