CC: | modules [...] perl.org, JIMT [...] perl.org |
Subject: | Patch for Mail::Bulkmail v 3.12 |
Date: | Wed, 18 May 2011 18:08:02 +0200 |
To: | bug-Mail-Bulkmail [...] rt.cpan.org |
From: | André Warnier <aw [...] ice-sa.com> |
Dear CPAN admins,
Below is an email which I sent to the author "JIMT" one week ago, and to which I have not
received an answer so far.
I know it isn't a long time, but I had previously sent a similar email to the same author,
about the same issue, 3 years ago, and never received an answer either.
And in the bug-tracking system, I see that there is already a bug report from someone
else, dated 6 years ago, about the same issue and version.
(https://rt.cpan.org/Ticket/Display.html?id=8496).
I believe that it is fair enough to think that the original module author is no longer
available, or uninterested in further maintenance of the module (which module is however
very nice and useful).
Attached is a modified version of Mail::Bulkmail, which (for me) fixes the problem I was
having, and probably also the problem indicated in the bug report.
Unfortunately, i do not know how to generate a proper diff file on my Windows workstation,
so I hope someone can do that for me.
Neither I am really interested in "adopting" the module, as there are many parts in that
code and its prerequisites, which I do not really understand and would be unable to support.
But I hope that someone will find interest in applying this patch to Mail::Bulkmail, so
that other people could avoid the same issue.
Best regards,
André Warnier
Show quoted text
-------- Original Message --------
Date: Thu, 12 May 2011 22:29:57 +0200
From: André Warnier <aw@ice-sa.com>
Reply-To: aw@ice-sa.com
Subject: Mail::Bulkmail
To: jim@jimandkoka.com
Mail::Bulkmail
Platform independent mailing list module
Mail-Bulkmail-3.12 - 22 Dec 2003 - Jim Thomason
Hello Jim.
First, thanks for the Mail::Bulkmail module, it is very useful.
Are you still maintaining that module ?
If not, could you tell me how I could ask to incorporate the following in the module
version posted on CPAN ?
If yes, here is the issue :
There is a small problem in Mail::Bulkmail, which I have tried to correct in the attached
version (it works for me).
The modifications are in the line range 1962 to 2030.
The original problem is :
When creating a Mail::Bulkmail object, one can specify to use an existing mail message
file, and to use the headers which are already in that file.
Typically, that message will be prepared and saved using some kind of email program or
editor. The "Content-type" header created by such programs is sometimes spelled as
"Content-Type" or "CONTENT-TYPE", which are valid and equivalent as far as RFC2822 and
RFC2045 are concerned.
But the Mail::Bulkmail v 3.12 module checks only for the exact header name "Content-type"
(lines 1994-2004), which can lead it to create a message containing 2 Content-type headers
: an original "Content-Type: multipart/related" for instance, plus an added "Content-type:
text/plain" header for instance.
The resulting email causes funny things to happen at the recipient side.
The applied modification helps to avoid this. It just checks for the Content-type header
in a case-independent fashion. I suppose that this could be generalised to the other
checked headers, but I have not done so because my problem was only with Content-type.
Best regards,
André Warnier
Informatica Consulting Europa SL
Valencia, Spain
Message body is not shown because sender requested not to inline it.