[wp-trac] [WordPress Trac] #29069: Proposal: wp-pluggable.php patch to send email through SMTP, not mail()

WordPress Trac noreply at wordpress.org
Thu Dec 3 06:50:24 UTC 2015


#29069: Proposal: wp-pluggable.php patch to send email through SMTP, not mail()
-------------------------------------------------+-------------------------
 Reporter:  JanR                                 |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Mail                                 |  Review
 Severity:  normal                               |     Version:  3.9.1
 Keywords:  needs-docs needs-codex needs-unit-   |  Resolution:
  tests 2nd-opinion                              |     Focuses:
-------------------------------------------------+-------------------------

Comment (by chriscct7):

 Replying to [comment:4 SergeyBiryukov]:
 > `wp_mail()` is a pluggable function, so these constants won't work if
 it's replaced by a plugin.
 >
 > This sounds like plugin territory, and there are
 [http://wordpress.org/plugins/tags/smtp plugins for sending emails via
 SMTP].

 True, but in the case a plugin replaces the function, then it will
 continue operating as it did before this change, and the constants will
 simply do nothing.

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


More information about the wp-trac mailing list