[wp-trac] [WordPress Trac] #39714: Proposal: Use Full PHPMailer library

WordPress Trac noreply at wordpress.org
Mon Apr 17 20:35:50 UTC 2017


#39714: Proposal: Use Full PHPMailer library
--------------------------------+------------------------------
 Reporter:  Ipstenu             |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  External Libraries  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:
--------------------------------+------------------------------

Comment (by MattyRob):

 The reason these blocks of code are removed is because we don't include
 the necessary 'extras' used by PHPMailer to make these work.

 For example the NTLM code block contains the following line:
 `require_once 'extras/ntlm_sasl_client.php';`

 This library file is not bundled with WordPress so this would result in an
 ugly looking failure.

 In a similar way, the 'XOAUTH2' authentication method calls the
 $OAuth->getOauth64() function and as the `class.phpmaileroauthgoogle.php`
 library is also not included, this would fail.

 To include these methods would require bundling these extra files from the
 PHPMailer package.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39714#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list