[Zope] "undisclosed-recipients" or not to be

Peter Bengtsson mail@peterbe.com
Tue, 18 Dec 2001 18:05:32 +0100


Using the sendmail tag like this...:

<dtml-sendmail mailhost="MailHost">
To: peter@grenna.net
From: server@peterbe.com
Subject: DTML peter@grenna.net to server@peterbe.com

Text text

</dtml-sendmail>


Sends a healthy email from 'server@peterbe.com' to 'peter@grenna.net'.
But doing this...:

context.MailHost.send('TEST 
MESSAGE','peter@grenna.net','server@peterbe.com','Subject server@peterbe.com 
to peter@grenna.net')

Sends the message but the To line in the message says 
"undisclosed-recipients:;" instead of "peter@grenna.net" like it did with the 
sendmail tag.

Why?


Peter