[Zope] sendmail problem

Harald Scheirich scheirich@nulleins.at
Fri, 2 Mar 2001 14:36:11 +0100


--============_-1228582322==_ma============
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

I am trying to use the dtml-sendmail tag but it is failing to cooperate.

I have tried various combinations of writing the sender and mail 
content but i either get an error message

Error type: TypeError
Error value: len() of unsized object

which traces back to the python smtp and rfc822 modules when i write 
the recipient as "To: scheirich@nulleins.at".

On the other hand i recieve an empty email-message when i use the 
mailto="scheirich@nulleins.at" parameter which arrives correctly but 
has undisclosed-recipients and no content.

I have tried the email address in various forms <> delimited, no 
delimiters, ...

I am using 2.3b1 with hot fix, but i had the same problem with 2.3

Any hints anybody ?

Harald Scheirich
--============_-1228582322==_ma============
Content-Type: text/html; charset="us-ascii"

<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { margin-top: 0 ; margin-bottom: 0 }
 --></style><title>sendmail problem</title></head><body>
<div>I am trying to use the dtml-sendmail tag but it is failing to
cooperate.</div>
<div><br></div>
<div>I have tried various combinations of writing the sender and mail
content but i either get an error message</div>
<div><br>
<font face="Times New Roman" size="+2" color="#000000">Error type:<b>
TypeError</b><br>
Error value:<b> len() of unsized object</b></font><br>
<font face="Times New Roman" size="+2" color="#000000"></font></div>
<div>which traces back to the python smtp and rfc822 modules when i
write the recipient as &quot;To: scheirich@nulleins.at&quot;.</div>
<div><br></div>
<div>On the other hand i recieve an empty email-message when i use
the mailto=&quot;scheirich@nulleins.at&quot; parameter which arrives
correctly but has undisclosed-recipients and no content.</div>
<div><br></div>
<div>I have tried the email address in various forms &lt;&gt;
delimited, no delimiters, ...</div>
<div><br></div>
<div>I am using 2.3b1 with hot fix, but i had the same problem with
2.3</div>
<div><br></div>
<div>Any hints anybody ?</div>
<div><br></div>
<div>Harald Scheirich</div>
</body>
</html>
--============_-1228582322==_ma============--