> Is there anyway to get a hold off the message-id of e-mail sent through
> the sendmail tag?

As far as I can see, there isn't any generation of a message-id in the
MailHost product.

If you want to get a hold of the message-id, the right thing would
probably be to generate it yourself, and adding it in the header
field of the message you're sending..

I.e., something like this (untested):
<dtml-call "REQUEST.set('message_id', _.str(_.whrandom.random()) +
            '@yourhost.com')">

<dtml-sendmail>
To: <dtml-var mail_to>
From: [EMAIL PROTECTED]
Message-ID: <dtml-var mesage_id>

</dtml-sendmail>

Although using a message-id generated from one of the python library
modules would be a better way of doing it..

HTH.

-Morten


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to