I have a question about the example line 226 of lib/Email/Mailer.pm.
# setup a second mail object based on the first but changing the "from"
my $mail_0 = Email::Mailer->new(
from => $from,
subject => $subject,
html => $html,
);
my $mail_1->new( from => 'different_address@example.com' );
$mail_0->send;
$mail_1->send;
Should the be the $mail_1’s construction be like that?
my $mail_1 = $mail_0->new( from => 'different_address@example.com' );
I have a question about the example line 226 of
lib/Email/Mailer.pm
.Should the be the
$mail_1
’s construction be like that?