[wp-trac] [WordPress Trac] #52504: wp_mail() not able to send/deliver emails to domain with hyphens in it?

WordPress Trac noreply at wordpress.org
Fri Feb 12 01:40:31 UTC 2021


#52504: wp_mail() not able to send/deliver emails to domain with hyphens in it?
--------------------------+-----------------------------
 Reporter:  verya.ca      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Mail          |    Version:  5.6.1
 Severity:  critical      |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I tested many plugins and all of them, who uses wp_mail(), are not
 sending/delivering emails to domain with hyphens in it.

 I tested on 3 different hosts, with 4 different domain names. When an
 email is sent to a domain with hyphens in it, it's not delivered. Seems
 like the "sanitizing" process is causing an issue maybe?

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


More information about the wp-trac mailing list