On Friday, July 5, 2002, at 05:27 , William Black wrote: [..] > 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' > };
Foist - the email side of the game... you're starting to move into the correct direction - the question now is - a) if you have direct access to sendmail on your host then you can always do the standard push through sendmail eg: my $sendmail = '/usr/lib/sendmail'; my $userName = .... my $subject = ..... my $msg = .... open (MAIL, "| $sendmail -t -oi 2>$bailFile") or die "unable to open sendmail:$!\n"; print MAIL "To: $userName \n"; print MAIL "Subject: $subject\n\n"; print MAIL "$msg"; close MAIL or die "Failure with sendmail :$? $!\n"; b) go with the Mail::Mailer from the CPAN a basic frame work would be at: http://www.wetware.com/drieux/pbl/Other/email/useMailMailer.txt but most likely I would HIGHLY RECOMMEND: http://search.cpan.org/search?mode=dist&query=Mailtool Way Much More Better in the long run. Secondly - that 'pager' - have you thought about getting a 'webPager' server - where you just send them an email and they will page the player? Much simpler - since you can stuff it all in one email message.... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]