[wp-trac] [WordPress Trac] #51030: Error in wp_mail function

WordPress Trac noreply at wordpress.org
Wed Aug 19 02:26:55 UTC 2020


#51030: Error in wp_mail function
-------------------------------+---------------------
 Reporter:  hichembelhadj      |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  5.5.1
Component:  Mail               |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+---------------------

Comment (by khag7):

 A test to add:
 {{{
 function test_phpmailer_validator() {
         $phpmailer = $GLOBALS['phpmailer'];
         $this->assertTrue( $phpmailer->validateAddress( 'foo at localhost' ),
 'Assert PHPMailer accepts domains without a dot' );
 }
 }}}

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


More information about the wp-trac mailing list