Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorPHPMailerConfigOptions.php
| <?php | <?php | ||||
| final class PhabricatorPHPMailerConfigOptions | final class PhabricatorPHPMailerConfigOptions | ||||
| extends PhabricatorApplicationConfigOptions { | extends PhabricatorApplicationConfigOptions { | ||||
| public function getName() { | public function getName() { | ||||
| return pht("PHPMailer"); | return pht('PHPMailer'); | ||||
| } | } | ||||
| public function getDescription() { | public function getDescription() { | ||||
| return pht("Configure PHPMailer."); | return pht('Configure PHPMailer.'); | ||||
| } | } | ||||
| public function getOptions() { | public function getOptions() { | ||||
| return array( | return array( | ||||
| $this->newOption('phpmailer.mailer', 'string', 'smtp') | $this->newOption('phpmailer.mailer', 'string', 'smtp') | ||||
| ->setLocked(true) | ->setLocked(true) | ||||
| ->setSummary(pht("Configure mailer used by PHPMailer.")) | ->setSummary(pht('Configure mailer used by PHPMailer.')) | ||||
| ->setDescription( | ->setDescription( | ||||
| pht( | pht( | ||||
| "If you're using PHPMailer to send email, provide the mailer and ". | "If you're using PHPMailer to send email, provide the mailer and ". | ||||
| "options here. PHPMailer is much more enormous than ". | "options here. PHPMailer is much more enormous than ". | ||||
| "PHPMailerLite, and provides more mailers and greater enormity. ". | "PHPMailerLite, and provides more mailers and greater enormity. ". | ||||
| "You need it when you want to use SMTP instead of sendmail as the ". | "You need it when you want to use SMTP instead of sendmail as the ". | ||||
| "mailer.")), | "mailer.")), | ||||
| $this->newOption('phpmailer.smtp-host', 'string', null) | $this->newOption('phpmailer.smtp-host', 'string', null) | ||||
| Show All 24 Lines | |||||