Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.0.0

Request #3776 smtp connect timeout would be swell
Submitted: 2005-03-11 16:03 UTC
From: jcnorris at me3 dot com Assigned: jon
Status: Closed Package: Mail
PHP Version: 5.0.3 OS: Windoze
Roadmaps: (Not assigned)    
Subscription  


 [2005-03-11 16:03 UTC] jcnorris at me3 dot com
Description: ------------ Using Mail 1.1.4 Line #158 of Mail/smtp.php reads if (PEAR::isError($smtp->connect())) { If smtp server is unavailable, my code hangs here until script timeout. For my use, I have hard-coded a timeout of 10 seconds thusly: if (PEAR::isError($smtp->connect(10))) { I propose an additional smtp param called 'timeout' which defaults to NULL

Comments

 [2005-03-19 19:38 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!