Re: sending mail from Perl redirecting from a file

2002-05-29 Thread Janek Schleicher
Lz wrote at Tue, 28 May 2002 17:57:57 +0200: > Hi guys, > > open TMP, ">/home/dev/perl/mail_queue/$filename" or die "Can't create file: $!"; > > I read an incoming file, modify it and save it in the file, as seen above. > > Later on, I'd like to send the above generated file: > > I try the fo

Re: sending mail from Perl redirecting from a file

2002-05-28 Thread Gautam
lz wrote: > Hi guys, > > open TMP, ">/home/dev/perl/mail_queue/$filename" or > die "Can't create file: $!"; > > I read an incoming file, modify it and save it in the > file, as seen above. > > Later on, I'd like to send the above generated file: > > I try the following, but it doesn't work. >

Re: sending mail from Perl redirecting from a file

2002-05-28 Thread A. Rivera
Try system("cat home/dev/perl/mail_queue/$filename | mailx -s \"test\" $mailAddress "); Regards, Agustin Rivera Webmaster, Pollstar.com / PollstarOnline.com - Original Message - From: "lz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 28, 2002 8:57 AM Subject: sending

Re: sending mail from Perl redirecting from a file

2002-05-28 Thread Ricardo Derbes
You can use MIME:Lite module, its very easy and self-explanatory... Regards Ricardo Derbes Altec SE AlbarracĂ­n 157 - San Carlos de Bariloche +54-2944-426892 [EMAIL PROTECTED] - Original Message - From: "lz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 28, 2002 12:57 PM S