Welcome Guest, Not a member yet? Register   Sign In
SMTP Email
#5

(This post was last modified: 07-30-2020, 11:44 PM by Chroma.)

Hi tiger,

Thanks for the suggestion. I will give it a try this morning and see if that helps.

Smile

I have tried the change to use


This is what I get back from the printDebugger():

hello:
The following SMTP error was encountered:
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
Date: Fri, 31 Jul 2020 07:32:57 +0100
From: "Tester" <[email protected]>
Return-Path: < [email protected] >
To: xxxxxx
Subject: =?UTF-8?Q?Email=20Test?=
Reply-To: < [email protected] >
User-Agent: CodeIgniter
X-Sender: [email protected]
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)
Message-ID: <[email protected] >
Mime-Version: 1.0


Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Testing the email class.


The error is still the same, it is failing on the STARTTLS line, I don't think that it is getting as far as the crypto line. I think that it is failing when the call from 1879 happens and it never gets to the stream_socket_enable_crypto line, as it fails on the line above. I just don't know what would cause it to fail there, when it was clearly talking to the server. My only thought is that the socket is closing after the helo for some reason.

This is what the exception looks like, without the coloured boxes.

Code:
( ! ) Fatal error: Uncaught ErrorException: fwrite(): send of 6 bytes failed with errno=32 Broken pipe in /Users/name/Sites/menai/core-sys/Email/Email.php on line 2019
( ! ) ErrorException: fwrite(): send of 6 bytes failed with errno=32 Broken pipe in /Users/name/Sites/menai/core-sys/Email/Email.php on line 2019
Call Stack
#    Time    Memory    Function    Location
1    33.4107    751352    CodeIgniter\Email\Email->__destruct( )    .../Email.php:0
2    33.4107    751352    CodeIgniter\Email\Email->sendCommand( ???, ??? )    .../Email.php:2139
3    33.4107    751352    CodeIgniter\Email\Email->sendData( ??? )    .../Email.php:1941
4    42.0435    751384    fwrite ( ???, ??? )    .../Email.php:2019
5    42.0435    752368    CodeIgniter\Debug\Exceptions->errorHandler( ???, ???, ???, ???, ??? )    .../Email.php:2019

Any thoughts?
Reply


Messages In This Thread
SMTP Email - by Chroma - 07-30-2020, 09:38 AM
RE: SMTP Email - by tgix - 07-30-2020, 12:39 PM
RE: SMTP Email - by Chroma - 07-30-2020, 01:26 PM
RE: SMTP Email - by tgix - 07-30-2020, 09:27 PM
RE: SMTP Email - by Chroma - 07-30-2020, 11:11 PM
RE: SMTP Email - by tgix - 07-31-2020, 12:43 AM
RE: SMTP Email - by Chroma - 08-09-2020, 01:40 AM
RE: SMTP Email - by tgix - 08-09-2020, 02:09 AM
RE: SMTP Email - by Chroma - 08-09-2020, 09:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB