Re: Mail::Sendmail Module

2002-11-06 Thread Gary Stainburn
] Sent: Tuesday, November 05, 2002 11:15 PM Subject: Re: Mail::Sendmail Module 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

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 in the message body. I'm not really sure how to do this.

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}=FIN; only reads the first line of the file in the following block; $oldsep=$/; $/=undef; disable line seperation open(FIN,myfile)||die cannot open file: $!\n;

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 matter in

RE: Mail::Sendmail Module

2002-11-05 Thread Scott, Joshua
, 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] Sent: Tuesday, November 05, 2002 11:01 PM Subject

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 really sure how to do this. The

Re: Mail::Sendmail Module

2002-11-05 Thread LRMK
; 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 11:15 PM Subject: Re: Mail::Sendmail Module On Tuesday 05 Nov 2002 5:01 pm, Scott

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 package uses a $mail{message} = blah var for the