Skip to content

Commit f5c2a2a

Browse files
yehangjunepriestley
authored and
epriestley
committedDec 9, 2012
Support SMTP as the mailer.
Summary: Support SMTP as the mailer and user could turn on SMTP authentication if needed. Import PHPMailer as PHPMailerLite doesn't support SMTP. Make class PhabricatorMailImplementationPHPMailerAdapter final. Test Plan: N/A Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T2139 Differential Revision: https://secure.phabricator.com/D4063
1 parent 433a7cc commit f5c2a2a

File tree

7 files changed

+3683
-0
lines changed

7 files changed

+3683
-0
lines changed
 

‎conf/default.conf.php

+11
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,17 @@
316316
// The default is 'full'.
317317
'metamta.user-address-format' => 'full',
318318

319+
// If you're using PHPMailer to send email, provide the mailer and options
320+
// here. PHPMailer is a superior to PHPMailerLite and provides more mailers.
321+
// You need it when you want to use SMTP instead of sendmail as the mailer.
322+
'phpmailer.mailer' => 'smtp',
323+
'phpmailer.smtp-host' => '',
324+
'phpmailer.smtp-port' => 25,
325+
326+
// Set following if your smtp server requires authentication.
327+
'phpmailer.smtp-user' => null,
328+
'phpmailer.smtp-password' => null,
329+
319330
// If you're using Amazon SES to send email, provide your AWS access key
320331
// and AWS secret key here. To set up Amazon SES with Phabricator, you need
321332
// to:

0 commit comments

Comments
 (0)
Failed to load comments.