Skip Menu |

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

Report information
The Basics
Id: 532
Status: resolved
Priority: 0/
Queue: Mail-Bulkmail

People
Owner: Nobody in particular
Requestors: ben_tilly [...] operamail.com
Cc:
AdminCc:

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



Subject: use_envelope causes Message to be immutable
Sample code: use strict; use Mail::Bulkmail; my $email = 'you@your.domain.com'; my $bulk = Mail::Bulkmail->new( "LIST" => [$email], "From" => $email, "To" => $email, "Subject" => 'This is a test message!', allow_duplicates => 1, ); $bulk->Message("Bulk email message."); $bulk->use_envelope(1); $bulk->bulkmail(); $bulk->use_envelope(0); # I am trying to turn it off! $bulk->Message("Mailing complete"); $bulk->mail($email); The result is that both emails are sent, but the body of both emails is the same. They remain the same no matter what I do. (Even if I disconnect and reconnect.) I am discarding $bulk and creating a new one to work around this. Problem encountered with Perl 5.005_03 running on Linux with an SMTP service on localhost.
Fixed as of v3.06