Modules :
Net::SMTP
Mail::Sender

If you are using Linux like OS , and have sendmail
$| = 1;
open (FH, "| sendmail -t")
# I forget what should be added on the above to protect /pwd/
print FH "Content....";
close (FH);

Rgds,
Connie

----- Original Message -----
From: "William Black" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 06, 2002 8:27 AM
Subject: Quick question.


> Hi All,
>
> I'm new to Perl and I just have a quick question.
>
> Within my perl pgm I'm trying to set it up so that if an error occurs an
> email is sent to a certain person, page etc.
>
> So far All I've done is set up a hash as shown below:  How can I use this
> hash and any built modules to accomplish my task.  In addition, if there
> areany modules please include them.
>
>
> %contact_info{
> name => 'John Smith',
> title => 'Hard Worker',
> email => '[EMAIL PROTECTED]',
> pager => '1234567'
> };
>
>
> Thanks,
>
> William Black
>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
>
> --
> 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]

Reply via email to