ZF-11705: Timeout setting in Zend_Mail_Protocol_Abstract not changeable

Issue Type: Improvement Created: 2011-08-29T12:57:10.000+0000 Last Updated: 2011-10-19T19:53:53.000+0000 Status: Open Fix version(s): Reporter: Michael Kliewe (mkliewe) Assignee: Dolf Schimmel (Freeaqingme) (freak) Tags: - Zend_Mail_Storage

Related issues: Attachments:


I would like to change the timeout setting when connecting to an SMTP server and sending a mail. At the moment this is a constant in the Zend_Mail_Protocol_Abstract class: const TIMEOUT_CONNECTION = 30;

Would be nice to have an option to change this, because 30 seconds is too much for a LAN connection, and switching to a backup SMTP takes at least 30 seconds with this setting, which is too much.


Posted by jerome ( on 2011-10-19T19:53:53.000+0000

I do not know if it is the good place to say that but I have got the same issue with Zend_Mail_Protocol_Abstract with const TIMEOUT_CONNECTION = 30. The fact is not so much that 30 seconds are too long a time, the problem is that it should not be an unreachable constant imho.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.