27 Nov
2000
27 Nov
'00
5:43 p.m.
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: test@test.host 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