I'm presuming that this is the proper place to report bugs for PEAR's Mail:: interface.
I updated to PHP 8.3 about two months ago and encountered a non-related error, fixed it and have since (before this new bug) been able to send email from my previous server for basic notifications (e.g. someone contacted the website through the contact form).
Then I had to do a server migration so there is a new environment however I'm still using PHP 8.3 on the new server. None of my code changed. I suspect an issue with cPanel's WHM (they really like changing things on a whim to the extent they make the Joker look like an agent of order) though I'm not sure where to look (they use stuff like Exim).
2024-07-02 02:14:02 TLS error on connection from [181.224.129.250]:51306 (SSL_accept): timed out.
I tested both a local server email address and remote one (have had a third even earlier non-related issue with cPanel) without any difference.
I don't write PHP in this...style so I'm not really reading well in to what is going on. I'm happy to make any clarifications I can.
Array
(
[0] => Array
(
[file] => /[__SERVER__PATH__]/php/PEAR.php
[line] => 235
[function] => error_handle
[args] => Array
(
[0] => 8192
[1] => Calling get_class() without arguments is deprecated
[2] => /[__SERVER__PATH__]/php/PEAR.php
[3] => 235
)
)
[1] => Array
(
[file] => /[__SERVER__PATH__]/php/Net/SMTP.php
[line] => 368
[function] => __callStatic
[class] => PEAR
[type] => ::
[args] => Array
(
[0] => raiseError
[1] => Array
(
[0] => Invalid response code received from server
[1] => 451
)
)
)
[2] => Array
(
[file] => /[__SERVER__PATH__]/php/Net/SMTP.php
[line] => 971
[function] => parseResponse
[class] => Net_SMTP
[object] => Net_SMTP Object
(
[host] => mail.jabcreations.com
[port] => 465
[localhost] => localhost
[auth_methods] => Array
(
[DIGEST-MD5] => Array
(
[0] => Net_SMTP Object
*RECURSION*
[1] => authDigestMD5
)
[CRAM-MD5] => Array
(
[0] => Net_SMTP Object
*RECURSION*
[1] => authCramMD5
)
[LOGIN] => Array
(
[0] => Net_SMTP Object
*RECURSION*
[1] => authLogin
)
[PLAIN] => Array
(
[0] => Net_SMTP Object
*RECURSION*
[1] => authPlain
)
)
[pipelining] =>
[pipelined_commands:protected] => 0
[debug:protected] =>
[debug_handler:protected] =>
[socket:protected] => Net_Socket Object
(
[_debug] =>
[_default_error_mode] =>
[_default_error_options] =>
[_default_error_handler] =>
[_error_class] => PEAR_Error
[_expected_errors] => Array
(
)
[fp] => Resource id #54
[blocking] => 1
[persistent] =>
[addr] => mail.jabcreations.com
[port] => 465
[timeout] =>
[lineLength] => 2048
[newline] =>
)
[socket_options:protected] => Array
(
)
[timeout:protected] => 0
[code:protected] => 451
[arguments:protected] => Array
(
[0] => Temporary local problem - please try later
)
[greeting:protected] => server.jabcreations.com ESMTP Exim 4.97.1 #2 Sun, 30 Jun 2024 04:46:03 -0700
We do not authorize the use of this system to transport unsolicited,
and/or bulk e-mail.
[esmtp:protected] => Array
(
[server.jabcreations.com] => Hello localhost [181.224.129.250]
[SIZE] => 52428800
[8BITMIME] =>
[PIPELINING] =>
[PIPECONNECT] =>
[AUTH] => PLAIN LOGIN
[STARTTLS] =>
[HELP] =>
)
)
[type] => ->
[args] => Array
(
[0] => Array
(
[0] => 250
[1] => 251
)
[1] =>
)
)
[3] => Array
(
[file] => /[__SERVER__PATH__]/php/Mail/smtp.php
[line] => 382
[function] => rcptTo
[class] => Net_SMTP
[object] => Net_SMTP Object
(
[host] => mail.jabcreations.com
[port] => 465
[localhost] => localhost
[auth_methods] => Array
(
[DIGEST-MD5] => Array
(
[0] => Net_SMTP Object
*RECURSION*
[1] => authDigestMD5
)
[CRAM-MD5] => Array
(
[0] => Net_SMTP Object
*RECURSION*
[1] => authCramMD5
)
[LOGIN] => Array
(
[0] => Net_SMTP Object
*RECURSION*
[1] => authLogin
)
[PLAIN] => Array
(
[0] => Net_SMTP Object
*RECURSION*
[1] => authPlain
)
)
[pipelining] =>
[pipelined_commands:protected] => 0
[debug:protected] =>
[debug_handler:protected] =>
[socket:protected] => Net_Socket Object
(
[_debug] =>
[_default_error_mode] =>
[_default_error_options] =>
[_default_error_handler] =>
[_error_class] => PEAR_Error
[_expected_errors] => Array
(
)
[fp] => Resource id #54
[blocking] => 1
[persistent] =>
[addr] => mail.jabcreations.com
[port] => 465
[timeout] =>
[lineLength] => 2048
[newline] =>
)
[socket_options:protected] => Array
(
)
[timeout:protected] => 0
[code:protected] => 451
[arguments:protected] => Array
(
[0] => Temporary local problem - please try later
)
[greeting:protected] => server.jabcreations.com ESMTP Exim 4.97.1 #2 Sun, 30 Jun 2024 04:46:03 -0700
We do not authorize the use of this system to transport unsolicited,
and/or bulk e-mail.
[esmtp:protected] => Array
(
[server.jabcreations.com] => Hello localhost [181.224.129.250]
[SIZE] => 52428800
[8BITMIME] =>
[PIPELINING] =>
[PIPECONNECT] =>
[AUTH] => PLAIN LOGIN
[STARTTLS] =>
[HELP] =>
)
)
[type] => ->
[args] => Array
(
[0] => [valid outgoing email address]
)
)
[4] => Array
(
[file] => /[__SERVER__PATH__]/php/Mail/smtp.php
[line] => 319
[function] => send_or_fail
[class] => Mail_smtp
[object] => Mail_smtp Object
(
[sep] =>
[_smtp] => Net_SMTP Object
(
[host] => mail.jabcreations.com
[port] => 465
[localhost] => localhost
[auth_methods] => Array
(
[DIGEST-MD5] => Array
(
[0] => Net_SMTP Object
*RECURSION*
[1] => authDigestMD5
)
[CRAM-MD5] => Array
(
[0] => Net_SMTP Object
*RECURSION*
[1] => authCramMD5
)
[LOGIN] => Array
(
[0] => Net_SMTP Object
*RECURSION*
[1] => authLogin
)
[PLAIN] => Array
(
[0] => Net_SMTP Object
*RECURSION*
[1] => authPlain
)
)
[pipelining] =>
[pipelined_commands:protected] => 0
[debug:protected] =>
[debug_handler:protected] =>
[socket:protected] => Net_Socket Object
(
[_debug] =>
[_default_error_mode] =>
[_default_error_options] =>
[_default_error_handler] =>
[_error_class] => PEAR_Error
[_expected_errors] => Array
(
)
[fp] => Resource id #54
[blocking] => 1
[persistent] =>
[addr] => mail.jabcreations.com
[port] => 465
[timeout] =>
[lineLength] => 2048
[newline] =>
)
[socket_options:protected] => Array
(
)
[timeout:protected] => 0
[code:protected] => 451
[arguments:protected] => Array
(
[0] => Temporary local problem - please try later
)
[greeting:protected] => server.jabcreations.com ESMTP Exim 4.97.1 #2 Sun, 30 Jun 2024 04:46:03 -0700
We do not authorize the use of this system to transport unsolicited,
and/or bulk e-mail.
[esmtp:protected] => Array
(
[server.jabcreations.com] => Hello localhost [181.224.129.250]
[SIZE] => 52428800
[8BITMIME] =>
[PIPELINING] =>
[PIPECONNECT] =>
[AUTH] => PLAIN LOGIN
[STARTTLS] =>
[HELP] =>
)
)
[_extparams] => Array
(
)
[host] => mail.jabcreations.com
[port] => 465
[starttls] =>
[auth] => 1
[username] => [valid noreply outgoing email address]
[password] => -----------------------------
[localhost] => localhost
[timeout] =>
[debug] =>
[debug_handler] =>
[greeting] =>
[persist] =>
[pipelining] =>
[socket_options] => Array
(
)
[response] =>
[queued_as] =>
)
[type] => ->
[args] => Array
(
[0] => Array
(
[0] => [valid outgoing email address]
)
[1] => Array
(
[MIME-Version] => 1.0
[Date] => Sun, 30 Jun 2024 11:46:03 +0000
[From] => JAB Creations Notifications <[valid noreply outgoing email address]>
[Message-Id] => <[email protected]>
[Subject] => JAB Creations - Verification Code: 540
[To] => [valid outgoing email address]
[Content-Type] => multipart/alternative;
boundary="=_cb9691c5802849b0715cd3e798ad730c"
)
[2] => --=_cb9691c5802849b0715cd3e798ad730c
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=ISO-8859-1
[removed]
----------------------------------------
This email was automatically generated, please do not reply as this address=
does not process incoming email.
--=_cb9691c5802849b0715cd3e798ad730c
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=ISO-8859-1
[removed]
--=_cb9691c5802849b0715cd3e798ad730c--
)
)
[5] => Array
(
[file] => /[__SERVER__PATH__]/[my centralized PHP function that calls Pear Mail ].php
[line] => 146
[function] => send
[class] => Mail_smtp
[object] => Mail_smtp Object
(
[sep] =>
[_smtp] => Net_SMTP Object
(
[host] => mail.jabcreations.com
[port] => 465
[localhost] => localhost
[auth_methods] => Array
(
[DIGEST-MD5] => Array
(
[0] => Net_SMTP Object
*RECURSION*
[1] => authDigestMD5
)
[CRAM-MD5] => Array
(
[0] => Net_SMTP Object
*RECURSION*
[1] => authCramMD5
)
[LOGIN] => Array
(
[0] => Net_SMTP Object
*RECURSION*
[1] => authLogin
)
[PLAIN] => Array
(
[0] => Net_SMTP Object
*RECURSION*
[1] => authPlain
)
)
[pipelining] =>
[pipelined_commands:protected] => 0
[debug:protected] =>
[debug_handler:protected] =>
[socket:protected] => Net_Socket Object
(
[_debug] =>
[_default_error_mode] =>
[_default_error_options] =>
[_default_error_handler] =>
[_error_class] => PEAR_Error
[_expected_errors] => Array
(
)
[fp] => Resource id #54
[blocking] => 1
[persistent] =>
[addr] => mail.jabcreations.com
[port] => 465
[timeout] =>
[lineLength] => 2048
[newline] =>
)
[socket_options:protected] => Array
(
)
[timeout:protected] => 0
[code:protected] => 451
[arguments:protected] => Array
(
[0] => Temporary local problem - please try later
)
[greeting:protected] => server.jabcreations.com ESMTP Exim 4.97.1 #2 Sun, 30 Jun 2024 04:46:03 -0700
We do not authorize the use of this system to transport unsolicited,
and/or bulk e-mail.
[esmtp:protected] => Array
(
[server.jabcreations.com] => Hello localhost [181.224.129.250]
[SIZE] => 52428800
[8BITMIME] =>
[PIPELINING] =>
[PIPECONNECT] =>
[AUTH] => PLAIN LOGIN
[STARTTLS] =>
[HELP] =>
)
)
[_extparams] => Array
(
)
[host] => mail.jabcreations.com
[port] => 465
[starttls] =>
[auth] => 1
[username] => [valid noreply outgoing email address]
[password] => -----------------------------
[localhost] => localhost
[timeout] =>
[debug] =>
[debug_handler] =>
[greeting] =>
[persist] =>
[pipelining] =>
[socket_options] => Array
(
)
[response] =>
[queued_as] =>
)
[type] => ->
[args] => Array
(
[0] => [valid outgoing email address]
[1] => Array
(
[MIME-Version] => 1.0
[Date] => Sun, 30 Jun 2024 11:46:03 +0000
[From] => JAB Creations Notifications <[valid noreply outgoing email address]>
[Message-Id] => <[email protected]>
[Subject] => JAB Creations - Verification Code: 540
[To] => [valid outgoing email address]
[Content-Type] => multipart/alternative;
boundary="=_cb9691c5802849b0715cd3e798ad730c"
)
[2] => --=_cb9691c5802849b0715cd3e798ad730c
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=ISO-8859-1
[removed]
----------------------------------------
This email was automatically generated, please do not reply as this address=
does not process incoming email.
--=_cb9691c5802849b0715cd3e798ad730c
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=ISO-8859-1
[removed]
--=_cb9691c5802849b0715cd3e798ad730c--
)
)