I always like to use the Mail::Mailer module
instead...
#
use Mail::Mailer;
$mailer = Mail::Mailer->new("sendmail");
$mailer->open({ From=> $from_address,
To => $to_address,
Subject => $subject,
I am unseeing the following piece of code to send
email. In order for this
email to be generated there needs to be an error in my
script.
use Mail::Sendmail;#Send and
email if there are errors
%mail = ( To => '[EMAIL PROTECTED]',
From=> '[EMAIL PROT
Jeff 'Japhy' Pinyan wrote:
>
> On Dec 18, Lance Prais said:
>
> >I tried to use '((substr($line, 42, 7)' which the text I want to include but
> >it did not show the output.
>
> You can't put code inside a quoted string and expect it to evaluate.
"@{[ substr $line, 42, 7 ]}"
:-)
John
--
use
--- Lance Prais <[EMAIL PROTECTED]> wrote:
> I am unseeing the following piece of code to send email. In order for this
> email to be generated there needs to be an error in my script.
>
> use Mail::Sendmail;#Send and email if there are errors
> %mail = ( To => '[EM
On Dec 18, Lance Prais said:
>I tried to use '((substr($line, 42, 7)' which the text I want to include but
>it did not show the output.
You can't put code inside a quoted string and expect it to evaluate.
%mail = (
To => '[EMAIL PROTECTED]',
From=> '[EMAIL PROTECTED]',
I am unseeing the following piece of code to send email. In order for this
email to be generated there needs to be an error in my script.
use Mail::Sendmail;#Send and email if there are errors
%mail = ( To => '[EMAIL PROTECTED]',
From=> '[EMAIL PROT