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 Subject: sending mail from Perl redirecting from a file
> 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. > open MSG, "|mailx -s \"test\" $mailAddress < $TMP"; > close MSG; > > Any ideas how to make it work? > > Thanks a lot! > > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]