how to send mail within a script ?

2005-10-22 Thread Juan B
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

Re: how to send mail within a script ?

2005-10-22 Thread Beau E. Cox
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