summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/etc/inc/smtp.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/inc/smtp.inc b/src/etc/inc/smtp.inc
index 78340da..54aa8cf 100644
--- a/src/etc/inc/smtp.inc
+++ b/src/etc/inc/smtp.inc
@@ -1266,7 +1266,7 @@ class smtp_class
&& $this->VerifyResultLines('220',$responses)>0))
{
$this->OutputDebug('Starting TLS cryptograpic protocol');
- if(!($success = stream_socket_enable_crypto($this->connection, 1, STREAM_CRYPTO_METHOD_TLS_CLIENT)))
+ if(!($success = @stream_socket_enable_crypto($this->connection, 1, STREAM_CRYPTO_METHOD_TLS_CLIENT)))
$this->error = 'could not start TLS connection encryption protocol';
else
{
@@ -1887,4 +1887,4 @@ class smtp_class
*/
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud