Issues

ZF-11233: Smtp transport doesn't check for timeout

Issue Type: Bug Created: 2011-03-28T09:33:03.000+0000 Last Updated: 2011-03-28T09:35:33.000+0000 Status: Open Fix version(s): Reporter: Andy (theonlyandy) Assignee: Dolf Schimmel (Freeaqingme) (freak) Tags: - Zend_Mail

Related issues: Attachments:

Description

The send method for smtp reuses an established connection for sending mail, but it doesn't check if the connection timed out.

Of course this only occurs when running a php script longterm, as in a daemon context.

Comments

Posted by Andy (theonlyandy) on 2011-03-28T09:35:33.000+0000

My suggestion is to not only see if there's already a connection object, but also use the noop-function to check if it's still alive.

If not, the old connection has to be dropped and a new one has to be established.

Have you found an issue?

See the Overview section for more details.

Copyright

© 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.

Contacts