Skip Menu |

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

Report information
The Basics
Id: 11981
Status: new
Priority: 0/
Queue: Mail-SimpleList

People
Owner: Nobody in particular
Requestors: sf [...] flacks.net
Cc:
AdminCc:

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



Subject: duplicate Reply-To header
Hi, If an email is processed that already has a 'Reply-To' header, Mail::SimpleList will add a second Reply-To header. Because the headers are in an unordered hash, the behaviour may vary from email to email. I've had a quick look at the source - in Mail::SimpleList->deliver, a Reply-To header will be returned by copy_headers() in %$message as $message->{Reply-to}. deliver() then adds the new Reply-To header by setting $message->{Reply-To}. Here's a patch: --- SimpleList.pm.orig Wed Mar 23 17:39:34 2005 +++ SimpleList.pm Wed Mar 23 17:39:48 2005 @@ -179,5 +179,5 @@ $message->{'List-Id'} = ( $desc ? qq|"$desc" | : '') . "<$name.list-id.$host>"; - $message->{'Reply-To'} = $message->{To}; + $message->{'Reply-to'} = $message->{To}; delete $message->{'Delivered-to'}; Thanks for this module by the way - 5 stars! --simonflk
In case it's not obvious from my original email, M::SimpleList could send out an email with /conflicting/ Reply-To headers: From: user@gmail.co To: alias+foo@lists.example.co Reply-to: user@gmail.co Reply-To: alias+foo@lists.example.co X-MSL-Seen: 1 Subject: Test Test