maximo1970
ISP
Running a mail script on a windows web server and get the following error :-
Net::SMTP: Bad protocol 'tcp' at mailer.pl line 13.
The script runs fine from the command line but not in the browser.
Line 13 contains,
$smtp = Net::SMTP->new('(smtp server in here)',
Hello => '(Customers domain name here)',
Timeout => 30,
Debug => 1
)
Net::SMTP: Bad protocol 'tcp' at mailer.pl line 13.
The script runs fine from the command line but not in the browser.
Line 13 contains,
$smtp = Net::SMTP->new('(smtp server in here)',
Hello => '(Customers domain name here)',
Timeout => 30,
Debug => 1
)