[Zope] sendmail tag

Sungmook Kim dotorimook@yahoo.com
Thu, 16 Jan 2003 12:41:46 +0100 (CET)


--0-360027351-1042717306=:60391
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit


hi,

i'm trying to use this sendmail tag but received an error message which i cannot understand. could someone help me out here? thanks


---error message---
Error Type: TypeError
Error Value: len() of unsized object

---my code---
--the "code" SendFeedback--

  <dtml-sendmail smtphost="localhost"> 
    To: Feedback Recipient <dotorimookl@yahoo.com >
    From: Zope Feedback Form <zope_form@example.com> 
    Subject: Feedback from the web 

    Feedback from : <dtml-var name>
    message:
    <dtml-var comments> 
    </dtml-sendmail>

    <h1>thanks</h1>
    <p>your message has beent sent</p>

---and the code feedback---

    <H2>send us your feedback</H2> 

    <form action="SendFeedback" method="post"> 
    your Name: <input type="text" name="name" size="40"> 
    <br> 
    <textarea name="comments" rows="10" cols="50">
    Here
    </textarea><br> 
    <input type="submit" value="Send Feedback"> 
    </form> 




---------------------------------
Gesendet von http://mail.yahoo.de.
Bis zu 100 MB Speicher bei http://premiummail.yahoo.de.
--0-360027351-1042717306=:60391
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<P>hi,<BR><BR>i'm trying to use this sendmail tag but received an error message which i cannot understand. could someone help me out here? thanks</P>
<P><BR>---error message---<BR>Error Type: TypeError<BR>Error Value: len() of unsized object<BR><BR>---my code---<BR>--the "code" SendFeedback--<BR><BR>&nbsp; &lt;dtml-sendmail smtphost="localhost"&gt; <BR>&nbsp;&nbsp;&nbsp; To: Feedback Recipient &lt;<A href="mailto:dotorimookl@yahoo.com">dotorimookl@yahoo.com</A> &gt;<BR>&nbsp;&nbsp;&nbsp; From: Zope Feedback Form &lt;<A href="mailto:zope_form@example.com">zope_form@example.com</A>&gt; <BR>&nbsp;&nbsp;&nbsp; Subject: Feedback from the web <BR><BR>&nbsp;&nbsp;&nbsp; Feedback&nbsp;from : &lt;dtml-var name&gt;<BR>&nbsp;&nbsp;&nbsp; message:<BR>&nbsp;&nbsp;&nbsp; &lt;dtml-var comments&gt; <BR>&nbsp;&nbsp;&nbsp; &lt;/dtml-sendmail&gt;<BR><BR>&nbsp;&nbsp;&nbsp; &lt;h1&gt;thanks&lt;/h1&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;p&gt;your message has beent sent&lt;/p&gt;<BR><BR>---and the code&nbsp;feedback---<BR><BR>&nbsp;&nbsp;&nbsp; &lt;H2&gt;send us your feedback&lt;/H2&gt; <BR><BR>&nbsp;&nbsp;&nbsp; &lt;form action="SendFeedback" method="post"&gt;&nbsp;<BR>&nbsp;&nbsp;&nbsp; your Name: &lt;input type="text" name="name" size="40"&gt; <BR>&nbsp;&nbsp;&nbsp; &lt;br&gt; <BR>&nbsp;&nbsp;&nbsp; &lt;textarea name="comments" rows="10" cols="50"&gt;<BR>&nbsp;&nbsp;&nbsp; Here<BR>&nbsp;&nbsp;&nbsp; &lt;/textarea&gt;&lt;br&gt; <BR>&nbsp;&nbsp;&nbsp; &lt;input type="submit" value="Send Feedback"&gt; <BR>&nbsp;&nbsp;&nbsp; &lt;/form&gt; <BR></P><p><br><hr size=1>Gesendet von <a href=http://de.yahoo.com/mail_de/tagline/?http://mail.yahoo.de>http://mail.yahoo.de</a>.<br>
Bis zu 100 MB Speicher bei <a href=http://de.yahoo.com/mail_de/tagline/?http://premiummail.yahoo.de>http://premiummail.yahoo.de</a>.
--0-360027351-1042717306=:60391--