[pear/Net_SMTP] d7b3f6: SMTP: STARTTLS failed (code: 220, response: 2.0.0 ...

[email protected] ("Armin Graefe via pear-cvs") Fri, 20 Oct 2023 15:21:48 -0700
Newsgroups php.pear.cvs
Message-ID <pear/Net_SMTP/push/refs/heads/1.11.0/[email protected]>
  Branch: refs/heads/1.11.0
  Home:   https://github.com/pear/Net_SMTP
  Commit: d7b3f6a0d636c6ca7d00cefd09d8aaf1e165ee16
      https://github.com/pear/Net_SMTP/commit/d7b3f6a0d636c6ca7d00cefd09d8aaf1e165ee16
  Author: Armin Graefe <[email protected]>
  Date:   2023-10-21 (Sat, 21 Oct 2023)

  Changed paths:
    M Net/SMTP.php

  Log Message:
  -----------
  SMTP: STARTTLS failed (code: 220, response: 2.0.0 Ready to start TLS) (#74)

* SMTP: STARTTLS failed (code: 220, response: 2.0.0 Ready to start TLS) #68

* SMTP: STARTTLS failed (code: 220, response: 2.0.0 Ready to start TLS) #68

* SMTP: STARTTLS failed (code: 220, response: 2.0.0 Ready to start TLS) #68

Issue with non-blocking streams on establishing STARTTLS encryption

* SMTP: STARTTLS failed (code: 220, response: 2.0.0 Ready to start TLS) #68

Beware of infinite loop

* SMTP: STARTTLS failed (code: 220, response: 2.0.0 Ready to start TLS) #68

do it in a for loop

* SMTP: STARTTLS failed (code: 220, response: 2.0.0 Ready to start TLS) #68

more details in STARTTLS failed errormessage

* SMTP: STARTTLS failed (code: 220, response: 2.0.0 Ready to start TLS) #68

keep backwards-compatibility to PHP5.4 by creating a method for array_filter parameter <mode>
change detailied error-message from combining string to sprintf() function
change usleep timing according to attempts
adding error_handler on every attempt

* SMTP: STARTTLS failed (code: 220, response: 2.0.0 Ready to start TLS) #68

changed new method name

* Update Net/SMTP.php

Co-authored-by: Jon Parise <[email protected]>

* Update Net/SMTP.php

Co-authored-by: Jon Parise <[email protected]>

* Update Net/SMTP.php

---------

Co-authored-by: Jon Parise <[email protected]>