Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Any Ideas

Status
Not open for further replies.
Jun 20, 2003
40
GB
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
)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top