S
still just me
I'm using Net::SMTP to send mail from a perl program running on a web
server. Code is as follows:
my $relay="smtp.example.com";
my $smtp = Net::SMTP->new($relay);
die "Could not open connection: $!" if (! defined $smtp);
I'm familiar with the error you get when the SMTP server won't let you
in. It's usually "Could not open connection: Connection refused at
line... ". I run into that from time to time and the server people fix
what they messed up.
On this particular server (which used to work, but apparently they've
made changes), I'm now getting this error:
"Could not open connection:Bad file number at
/public_html/cgi-bin/submit.pl line 101"
What does "bad file number" mean?
Thanks,
server. Code is as follows:
my $relay="smtp.example.com";
my $smtp = Net::SMTP->new($relay);
die "Could not open connection: $!" if (! defined $smtp);
I'm familiar with the error you get when the SMTP server won't let you
in. It's usually "Could not open connection: Connection refused at
line... ". I run into that from time to time and the server people fix
what they messed up.
On this particular server (which used to work, but apparently they've
made changes), I'm now getting this error:
"Could not open connection:Bad file number at
/public_html/cgi-bin/submit.pl line 101"
What does "bad file number" mean?
Thanks,