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 ---------------------------------------------