[cmclasses] r1232 committed - Fixed bug in SMTP transport.

0 views
Skip to first unread message

cmcl...@googlecode.com

unread,
Jun 27, 2015, 10:30:57 AM6/27/15
to cmcl...@googlegroups.com
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" );
Reply all
Reply to author
Forward
0 new messages