Running mail server, and port 25 is now blocked by my ISP. They use port 587 with authentication. So now I can't send or receive emails to my domains on my server. I have a guestbook script which sends me an email when an entry is made, and I need to script the authentication in; PERL 5.61 in Windows. Here is what I have, that doesn't work:
use Net::SMTP;
my $relay = "smtp.myISP.net";
my $smtp = Net::SMTP->new($relay);
$smtp->auth(userid, password)
|| die "Can't open mail connection: $!";
What is the proper syntax? Do I need to install a PERL module? How is that done in Windows? Net::SMTP has always worked til the port blocking.
Newposter
"Good judgment comes from experience. Experience comes from bad judgment."
use Net::SMTP;
my $relay = "smtp.myISP.net";
my $smtp = Net::SMTP->new($relay);
$smtp->auth(userid, password)
|| die "Can't open mail connection: $!";
What is the proper syntax? Do I need to install a PERL module? How is that done in Windows? Net::SMTP has always worked til the port blocking.
Newposter
"Good judgment comes from experience. Experience comes from bad judgment."