#48719 closed defect (bug) (invalid)
wp_mail() do not sent mail to the addresses ended by @qq.com
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.3 |
Component: | Keywords: | ||
Focuses: | Cc: |
Description
<?php function comment_mail_notify() { $to = 'xxxx@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@live.com
, or xxxx@gmail.com
, wp_mail() works.
Is there something wrong with this function?
Change History (1)
#1
@
5 years ago
- Component changed from General to Mail
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
Version 0, edited 5 years ago
by
(next)
Note: See
TracTickets for help on using
tickets.
Hi there, welcome to WordPress Trac! Thanks for the report.
There are no restrictions like that in WordPress core, it sends emails to any address in the same way. Successful delivery may depend on a number of factors:
Please try the support forums for further troubleshooting: https://wordpress.org/support/forums/
This support article might also be helpful: https://wordpress.org/support/article/faq-troubleshooting/#emailed-passwords-are-not-being-received