smtp authentication

2006-08-26 Thread Alan Sanders
Tom - Yes I use real values. Dr. Ruud - You're right... the extra line is useless and I have cleaned it up accordingly. Anyways I figured the script out. Here's the final output cleaned up a little bit. Thanks for your help. #!/usr/bin/perl -w use strict; use Net::SMTP; my $mail_server = "

smtp authentication

2006-08-25 Thread Alan Sanders
Hey, I'm trying to send mail over my server (1and1.com). They require smtp authentication in order to send. I'm using windows XP. Here is my code: #!/usr/bin/perl -w use strict; use Net::SMTP; my $mail_server = "mailhost"; my $username = "login"; my $password = "password"; my $msg = "This is