Hi Juan B - At 2005-10-22, 01:37:53 you wrote: >HI, > >I am trying to write a script which will send the >result of a var to mail web mail.this is what I wrote >: > >#!/usr/bin/perl >#use strict; >use warnings; >my $file_listing = `/usr/bin/nmap -p 80 192.168.1.1`; > >How can it be done? do I need to configure sendmail on >my linux box. please try to give a simple solutio >cause im new in perl. > >thanks, > >Juan >
For me, the easiest way is to use the CPAN module Mail::Sender. Have a look at the documentation at http://search.cpan.org. If you like it and need further help installing or using it, let us know. Aloha => Beau; [EMAIL PROTECTED] 2005-10-22 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>