[wp-trac] [WordPress Trac] #48719: wp_mail() do not sent mail to the addresses ended by @qq.com

WordPress Trac noreply at wordpress.org
Tue Nov 19 01:29:23 UTC 2019


#48719: wp_mail() do not sent mail to the addresses ended by @qq.com
--------------------------+-----------------------------
 Reporter:  syshut        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 {{{#!php
 <?php
 function comment_mail_notify() {
         $to = 'xxxx at qq.com';
         $subject = 'subject';
         $message = 'message';
         $headers = 'xxxx';
         wp_mail( $to, $subject, $message, $headers );
 }
 add_action( 'comment_post', 'comment_mail_notify' );
 }}}

 When there is a new comment, wp_mail() sends an email to the email address
 defined in the $to parameter.

 If the email address is ended by @qq.com , wp_mail() do not send the
 email. But other addresses, like {{{xxxx at live.com}}}, or
 {{{xxxx at gmail.com}}}, wp_mail() works.

 Is there something wrong with this function?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48719>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list