problem with mailfrom
I'm trying to create a mailform but I always have this error : Zope Error Zope has encountered an error while publishing this resource. Error Type: SMTP Error Error Value: Recieved error code 503 from SMTP: 503 No recipients have been specified. I don't understand what is the recipient. Can someone help me ? thanks in advance ......................This is the main ........................ <dtml-var standard_html_header> <!--#var standard_html_header--> <H2>We want your input!</H2> <form action="SendFeedback" method="post"> Your Name: <input type="text" name="name" size="40"> <br> <textarea name="comments" rows="10" cols="50"> Inserisci la tua richiesta in questa finestra </textarea><br> <input type="submit" value="Send Feedback"> </form> <!--#var standard_html_footer--> <dtml-var standard_html_footer> ................... SendFeedback.......... <!--#var standard_html_header--> <!--#sendmail mailhost="MailHost"--> To: Feedback Recipient gino@gate From: Zope Feedback Form lorenzo.rondelli@gate Subject: Feedback from the web Feedback from : <!--#var name--> Comments: <!--#var comments--> <!--#/sendmail--> <h1>Thank you for your input!</h1> <p>Your comments have been sent.</p> <!--#var standard_html_footer--> ...................my MailHost is this ..................... Id: MailHost Local Host : linux (the name where zope running on) SMTP Host : gate SMTP Port : 25
I don't understand what is the recipient. Can someone help me ? thanks in advance
The recipient is "recipient" :-) The person from "TO" field... Try: To: Feedback Recipient <gino@gate> From: Zope Feedback Form <lorenzo.rondelli@gate> Subject: Feedback from the web not :
To: Feedback Recipient gino@gate From: Zope Feedback Form lorenzo.rondelli@gate Subject: Feedback from the web
I'm not sure if it will work...
......................This is the main ........................
<dtml-var standard_html_header>
<!--#var standard_html_header--> <H2>We want your input!</H2>
<form action="SendFeedback" method="post"> Your Name: <input type="text" name="name" size="40"> <br> <textarea name="comments" rows="10" cols="50"> Inserisci la tua richiesta in questa finestra </textarea><br> <input type="submit" value="Send Feedback"> </form> <!--#var standard_html_footer--> <dtml-var standard_html_footer>
................... SendFeedback..........
<!--#var standard_html_header-->
<!--#sendmail mailhost="MailHost"--> To: Feedback Recipient gino@gate From: Zope Feedback Form lorenzo.rondelli@gate Subject: Feedback from the web
Feedback from : <!--#var name--> Comments: <!--#var comments--> <!--#/sendmail-->
<h1>Thank you for your input!</h1> <p>Your comments have been sent.</p>
<!--#var standard_html_footer-->
...................my MailHost is this .....................
Id: MailHost Local Host : linux (the name where zope running on) SMTP Host : gate SMTP Port : 25
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
And be sure: 1. Not to put any whitespace before the headers, and 2. to put a blank line after the headers and before the body: e.g. To: Feedback Recipient <gino@gate> From: Zope Feedback Form <lorenzo.rondelli@gate> Subject: Feedback from the web In regards to your inquiry... Sincerely yours, ----- Original Message ----- From: Marcel Preda <marcel@punto.it> To: <zope@zope.org> Sent: April 05, 2000 05:11 AM Subject: [Zope] R: [Zope] problem with mailfrom
I don't understand what is the recipient. Can someone help me ? thanks in advance
The recipient is "recipient" :-) The person from "TO" field...
Try: To: Feedback Recipient <gino@gate> From: Zope Feedback Form <lorenzo.rondelli@gate> Subject: Feedback from the web not :
To: Feedback Recipient gino@gate From: Zope Feedback Form lorenzo.rondelli@gate Subject: Feedback from the web
I'm not sure if it will work...
......................This is the main ........................
<dtml-var standard_html_header>
<!--#var standard_html_header--> <H2>We want your input!</H2>
<form action="SendFeedback" method="post"> Your Name: <input type="text" name="name"
size="40">
<br> <textarea name="comments" rows="10" cols="50"> Inserisci la tua richiesta in questa finestra </textarea><br> <input type="submit" value="Send Feedback"> </form> <!--#var standard_html_footer--> <dtml-var standard_html_footer>
................... SendFeedback..........
<!--#var standard_html_header-->
<!--#sendmail mailhost="MailHost"--> To: Feedback Recipient gino@gate From: Zope Feedback Form lorenzo.rondelli@gate Subject: Feedback from the web
Feedback from : <!--#var name--> Comments: <!--#var comments--> <!--#/sendmail-->
<h1>Thank you for your input!</h1> <p>Your comments have been sent.</p>
<!--#var standard_html_footer-->
...................my MailHost is this .....................
Id: MailHost Local Host : linux (the name where zope running on) SMTP Host : gate SMTP Port : 25
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Loren Stafford -
Lorenzo Rondelli -
Marcel Preda