MIME::Lite need sendmail Queue ID

I am using MIME::Lite to send messages via sendmail. I need to track
the status of the message to ensure it was properly accepted by the
local sendmail agent and the remote mail host (i.e. date/time it was
accepted by the remote host, X-Status message id assigned by that host,
if delivery was deferred, etc.)

I can do this in MIME::Lite by setting the Message-ID parameter, then
parsing the sendmail maillog file for this message-ID and returning the
Queue ID. Then, following the Queue ID through the same maillog. This
seems like such a hack (and dangerous setting the Message-ID, but there
doesn't seem to be a way of just fetching it). Is there a better way?

Tom
tom [ Do, 16 November 2006 15:34 ] [ ID #1538611 ]
Perl » comp.lang.perl.modules » MIME::Lite need sendmail Queue ID

Vorheriges Thema: Devel::StackTrace
Nächstes Thema: use LWP::UserAgent to access site with authorization