Page MenuHomePhabricator

Don't use mail() function in Wikimania Scholarships application
Closed, ResolvedPublic

Description

Mail can't be sent using the mail() function. We need to use a some mailer package that sends via SMTP instead. This will also require a new configuration setting to specify the SMTP relay that will be processing our mail messages.


Version: wmf-deployment
Severity: normal

Details

Reference
bz57565

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:17 AM
bzimport set Reference to bz57565.

This could be as easy as putting phpmailer back into the project via composer and using it. I had it in at one point and then ripped it out when I got rid of the bulk mailing admin pages.

Change 98463 had a related patch set uploaded by BryanDavis:
Use PHPMailer to send mail

https://gerrit.wikimedia.org/r/98463

Change 98463 merged by jenkins-bot:
Use PHPMailer to send mail

https://gerrit.wikimedia.org/r/98463

Mail() is no longer being used but I'm having a hard time finding an SMTP relay to test with in labs that will allow full verification.

"The following From address failed: wikimania-scholarships@wikimedia.org : Called MAIL FROM without being connected"

Installed postfix on scholarships-alpha to test smtp sending.