mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 03:27:03 +02:00
Use zend framework for sending restored emails
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
@ -263,8 +263,15 @@ abstract class Zend_Mail_Protocol_Abstract
|
||||
$errorNum = 0;
|
||||
$errorStr = '';
|
||||
|
||||
$stream_context = stream_context_create(array(
|
||||
'ssl' => array(
|
||||
'verify_peer' => false,
|
||||
'verify_peer_name' => false
|
||||
)
|
||||
));
|
||||
|
||||
// open connection
|
||||
$this->_socket = @stream_socket_client($remote, $errorNum, $errorStr, self::TIMEOUT_CONNECTION);
|
||||
$this->_socket = @stream_socket_client($remote, $errorNum, $errorStr, self::TIMEOUT_CONNECTION, STREAM_CLIENT_CONNECT, $stream_context);
|
||||
|
||||
if ($this->_socket === false) {
|
||||
if ($errorNum == 0) {
|
||||
|
Reference in New Issue
Block a user