Re: Trouble sending an email with Mailer module
- From: Ch Lamprecht <christoph.lamprecht.no.spam@xxxxxx>
- Date: Tue, 31 Jan 2006 23:09:53 +0100
laredotornado@xxxxxxxxxxx wrote:
Hi,
use strict; use warnings;
my $body = "Blah blah blah:\n\n";
my %headers = {From => "$p_sender",
^ To => "$p_recipient",
^ Subject => "$p_subject"
^ };
-------------^a hash --^ a hashref
my $mailer = Mail::Mailer->new(); $mailer->open(\%headers); print $mailer $body; $mailer->close;
Any ideas? Thanks, - Dave
HTH Christoph --
perl -e "print scalar reverse q/ed.enilno@xxxxxxxxx/" .
- References:
- Trouble sending an email with Mailer module
- From: laredotornado
- Trouble sending an email with Mailer module
- Prev by Date: Re: split the sequences
- Next by Date: Re: FAQ 1.3 Which version of Perl should I use?
- Previous by thread: Trouble sending an email with Mailer module
- Next by thread: Re: Trouble sending an email with Mailer module
- Index(es):