RE: Mail::Sendmail Module

2002-11-06 Thread Kipp, James
> > > 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

Re: Mail::Sendmail Module

2002-11-06 Thread Paul Johnson
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

Re: Mail::Sendmail Module

2002-11-06 Thread Gary Stainburn
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

Re: Mail::Sendmail Module

2002-11-06 Thread Gary Stainburn
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

RE: Mail::Sendmail Module

2002-11-05 Thread Kipp, James
> > 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

Re: Mail::Sendmail Module

2002-11-05 Thread LRMK
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

Re: Mail::Sendmail Module

2002-11-05 Thread Gary Stainburn
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

RE: Mail::Sendmail Module

2002-11-05 Thread Scott, Joshua
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

Mail::Sendmail module error trap

2002-01-11 Thread freiref
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