>
>
> Always try to do things within perl. Using the backticks to
> system() the
> external cat command will work only if the cat command exists
> and is in the
> $PATH. Also, it is less efficient as it involves forking
> another process and
> execing another file.
>
> While this may not
Gary Stainburn said:
> On Tuesday 05 November 2002 5:37 pm, LRMK wrote:
>> there is a one problem
>> $mail{message}=; only reads the first line of the file
>> in the following block;
>>
>> $oldsep=$/; $/=undef; disable line seperation
>> open(FIN,"")||die "cannot open file: $!\n";
>> $mail{me
On Tuesday 05 November 2002 5:47 pm, Kipp, James wrote:
> > Hello everyone,
> >
> > I'm trying to use the Mail::Sendmail module in a script where I need a
> > independent mailer. The problem I'm having is including more
> > than one line
> > of text
sage -
> From: "Gary Stainburn" <[EMAIL PROTECTED]>
> To: "Scott, Joshua" <[EMAIL PROTECTED]>; "Beginners Perl"
> <[EMAIL PROTECTED]>
> Sent: Tuesday, November 05, 2002 11:15 PM
> Subject: Re: Mail::Sendmail Module
>
> > On
>
> Hello everyone,
>
> I'm trying to use the Mail::Sendmail module in a script where I need a
> independent mailer. The problem I'm having is including more
> than one line
> of text in the message body. I'm not really sure how to do this. The
> pac
file = ;
chomp @file;
$mail{message}=join("\n",@file);
- Original Message -
From: "Gary Stainburn" <[EMAIL PROTECTED]>
To: "Scott, Joshua" <[EMAIL PROTECTED]>; "Beginners Perl"
<[EMAIL PROTECTED]>
Sent: Tuesday, November 05, 2002
On Tuesday 05 Nov 2002 5:01 pm, Scott, Joshua wrote:
> Hello everyone,
>
> I'm trying to use the Mail::Sendmail module in a script where I need a
> independent mailer. The problem I'm having is including more than one line
> of text in the message body. I'm not re
AM
To: Scott, Joshua
Cc: [EMAIL PROTECTED]
Subject: Re: Mail::Sendmail Module
combine all the lines using \n characters and store it in the hash variable
- Original Message -
From: "Scott, Joshua" <[EMAIL PROTECTED]>
To: "Beginners Perl" <[EMAIL PROTECTED]>
S
I have a CGI program that use the Mail::Sendmail module. The
situation is that at the end of the script it send a email
notification with the Mail::Sendmail but because the
Mail::Sendmail check for the email address to see if its valid,
when the
user enter an invalid email address the