Revision: 1232
Author: christian.wuerker
Date: Sat Jun 27 14:30:41 2015 UTC
Log: Fixed bug in SMTP transport.
https://code.google.com/p/cmclasses/source/detail?r=1232
Modified:
/trunk/src/Net/Mail/Transport/SMTP.php
=======================================
--- /trunk/src/Net/Mail/Transport/SMTP.php Sat May 23 06:45:51 2015 UTC
+++ /trunk/src/Net/Mail/Transport/SMTP.php Sat Jun 27 14:30:41 2015 UTC
@@ -158,6 +158,7 @@
if( $this->isSecure ){
$this->sendChunk( $conn, "STARTTLS" );
$this->checkResponse( $conn );
+ stream_socket_enable_crypto( $conn, true,
STREAM_CRYPTO_METHOD_TLS_CLIENT );
}
if( $this->username && $this->password ){
$this->sendChunk( $conn, "AUTH LOGIN" );