Skip Menu |

This queue is for tickets about the Mail-SendEasy CPAN distribution.

Report information
The Basics
Id: 113230
Status: new
Priority: 0/
Queue: Mail-SendEasy

People
Owner: Nobody in particular
Requestors: jean-luc [...] picard.franken.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Wrong header used for message ID
Date: Mon, 21 Mar 2016 17:39:35 +0100
To: bug-Mail-SendEasy [...] rt.cpan.org
From: Thomas Köhler <jean-luc [...] picard.franken.de>
Hi all, Apparently, Mail::SendEasy uses the wrong header for setting the message ID of a mail. The once specified in the RFC is "Message-ID", not "Msg-ID" (see https://tools.ietf.org/html/rfc4021#page-10 for reference). The fix is easy: ---------------------------------- --- SendEasy.pm.orig 2016-03-21 17:31:31.195299272 +0100 +++ SendEasy.pm 2016-03-21 17:32:36.007299205 +0100 @@ -207,7 +207,7 @@ $mail{MIME}{'Mime-version'} = '1.0' ; $mail{MIME}{'X-Mailer'} = "Mail::SendEasy/$VERSION Perl/$]-$^O" ; - $mail{MIME}{'Msg-ID'} = $mail{msgid} ; + $mail{MIME}{'Message-ID'} = $mail{msgid} ; if ( defined $mail{msg} ) { @@ -317,7 +317,7 @@ Reply-To Errors-To Subject - Msg-ID + Message-ID X-Mailer Mime-version ); @@ -701,7 +701,7 @@ =item msgid An ID to insert in the e-mail Headers. The header will be: -Msg-ID: xxxxx +Message-ID: xxxxx =item anex ---------------------------------- Best regards, Thomas -- Thomas Köhler Email: jean-luc@picard.franken.de <>< WWW: http://gott-gehabt.de IRC: tkoehler Freenode: thkoehler PGP public key available from Homepage!
Download signature.asc
application/pgp-signature 819b

Message body not shown because it is not plain text.