Re: how to send mail within a script ?
- From: beaucox@xxxxxxxxxxxxx (Beau E. Cox)
- Date: Sat, 22 Oct 2005 01:50:42 -1000
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;
beaucox@xxxxxxxxxxxxx
2005-10-22
.
- Prev by Date: how to send mail within a script ?
- Next by Date: Finding all the files in a PC
- Previous by thread: Re: how to send mail within a script ?
- Next by thread: Finding all the files in a PC
- Index(es):
Relevant Pages
|