Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 9 years ago

#1162 closed enhancement (fixed)

Route outgoing email through function other than PHP mail()

Reported by: ringmaster's profile ringmaster Owned by:
Milestone: Priority: normal
Severity: normal Version: 1.5.1
Component: General Keywords: bg|has-patch
Focuses: Cc:


On my Windows server, the PHP mail() function often fails to authenticate with SMTP when the outgoing headers are set as WordPress does by default. Additionally, the mail() function is very slow to execute when it does work.

Attachments (1)

wp_alt_mail.diff (464 bytes) - added by ringmaster 19 years ago.

Download all attachments as: .zip

Change History (5)

#1 @ringmaster
19 years ago

  • Patch set to No

#2 @coffee2code
19 years ago

This, or something like it, would definitely facilitate hands-free installation of my wpPHPMailer plugin [ ], which allows direct access to a mail server for those without sendmail. As it stands, I have to have users modify the wp_mail() function.

#3 @skippy
19 years ago

  • Keywords bg|has-patch added
  • Resolution set to fixed
  • Status changed from new to closed

wp_mail() is now in pluggable-functions.php, and can be overridden as needed.

This ticket was mentioned in Slack in #polyglots by petya. View the logs.

9 years ago

Note: See TracTickets for help on using tickets.