[wp-trac] [WordPress Trac] #39597: Authtype order in class-smtp.php

WordPress Trac noreply at wordpress.org
Sun Feb 5 21:24:56 UTC 2017


#39597: Authtype order in class-smtp.php
--------------------------+----------------------
 Reporter:  bcmarius      |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Mail          |     Version:  4.7.1
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------

Comment (by ediware):

 The is a solution without changing anything in the core.

 Juste add these lines in your functions.php

 add_action('phpmailer_init','patch_smtp');

 function patch_smtp($phpmailer) {
 $phpmailer->AuthType='LOGIN';
 }

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


More information about the wp-trac mailing list