in reply to Re: 'Best way to email edited array contents?
in thread 'Best way to email edited array contents?
$mailer = Mail::Mailer->new("sendmail"); $mailer->open({ From => $fromaddress, To => $toaddress, Subject => $subject, }) or die "Can't open: $!\n"; print $mailer $body; $mailer->close();
From what I read, I thought I was to put the "$mailer->close();" line at the end of the script, but I'm not sure where to put the "$body" line. I think my problem is most likely not getting a handle on my object.
Thanks for your help/responses.
-Chris
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: 'Best way to email edited array contents?
by Anonymous Monk on Feb 12, 2004 at 20:30 UTC | |
by l3nz (Friar) on Feb 12, 2004 at 21:03 UTC |