Help with Sendmail Mail!
Hi, my name is Victor, and I'm a programmer and developer for an Interactive agency in China. This is my first time working on a Zope-based project. Due to my lack of Zope experience, I've been getting into some problems, and I hope your experience can help me. My SendFeedback.dtml file is: <dtml-sendmail smtphost="firewall.ogilvy.com.cn"> To: Feedback Recipient <cosix@tonghua.com.cn> From: Zope Feedback Form <zgxbj@yahoo.com> Subject: <dtml-var subject> Comments: <dtml-var body> </dtml-sendmail> <h1>Thank you for your input!</h1> <p>Your comments have been sent.</p> My Feedback.dtml file is: <H2>We want your input!</H2> <form action=SendFeedback> Your Name: <input type=text name="subject" size=40> <br> <textarea name="body" rows=10 cols=50> </textarea> <br> <input type=submit value="Send Feedback"> </form> This does not work after display the information: "Your comments have been sent".I have not get one mail yet.Why! "WorldSecure Server <ogilvy.com>" made the following annotations on 11/02/99 07:04:34 ------------------------------------------------------------------------------ Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer does not consent to email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of the Ogilvy Group shall be understood as neither given nor endorsed by it. ==============================================================================
At 13:12 2-11-99 , Victor.Zhai@ogilvy.com wrote:
Hi, my name is Victor, and I'm a programmer and developer for an Interactive agency in China. This is my first time working on a Zope-based project. Due to my lack of Zope experience, I've been getting into some problems, and I hope your experience can help me. My SendFeedback.dtml file is: <dtml-sendmail smtphost="firewall.ogilvy.com.cn"> To: Feedback Recipient <cosix@tonghua.com.cn> From: Zope Feedback Form <zgxbj@yahoo.com> Subject: <dtml-var subject>
Comments: <dtml-var body> </dtml-sendmail> <h1>Thank you for your input!</h1> <p>Your comments have been sent.</p> My Feedback.dtml file is: <H2>We want your input!</H2> <form action=SendFeedback> Your Name: <input type=text name="subject" size=40> <br> <textarea name="body" rows=10 cols=50> </textarea> <br> <input type=submit value="Send Feedback"> </form> This does not work after display the information: "Your comments have been sent".I have not get one mail yet.Why!
Make sure there is no whitespace before the headers. The text between the sendmail tags is sent verbatim to the SMTP server, and SMTP servers don't like header lines to start with whitespace. -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | T: +31 35 7502100 F: +31 35 7502111 | mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ---------------------------------------------
participants (2)
-
Martijn Pieters -
Victor.Zhai@ogilvy.com