On Wed, 17 Apr 2002, Bill Lyles wrote: > How can I change this to smtp?
Bill: Try using Mail::Mailer: #!/usr/bin/perl -w use Mail::Mailer; my $To = $ARGV[0]; my $mailer = Mail::Mailer->new('smtp', 'your.smtp.host'); $mailer->open({ From => "[EMAIL PROTECTED]", To => $To, Subject => "Password reminder for $To", }); print $mailer $Message; $mailer->close; -- Eric P. Los Gatos, CA -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]