Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorMetaMTAConfigOptions.php
Show First 20 Lines • Show All 203 Lines • ▼ Show 20 Lines | return array( | ||||
'noreply@phabricator.example.com') | 'noreply@phabricator.example.com') | ||||
->setDescription(pht('Default "From" address.')), | ->setDescription(pht('Default "From" address.')), | ||||
$this->newOption( | $this->newOption( | ||||
'metamta.domain', | 'metamta.domain', | ||||
'string', | 'string', | ||||
'phabricator.example.com') | 'phabricator.example.com') | ||||
->setDescription(pht('Domain used to generate Message-IDs.')), | ->setDescription(pht('Domain used to generate Message-IDs.')), | ||||
$this->newOption( | $this->newOption( | ||||
'metamta.mail-adapter', | |||||
'class', | |||||
'PhabricatorMailImplementationPHPMailerLiteAdapter') | |||||
->setBaseClass('PhabricatorMailImplementationAdapter') | |||||
->setSummary(pht('Control how mail is sent.')) | |||||
->setDescription($adapter_description), | |||||
$this->newOption( | |||||
'metamta.one-mail-per-recipient', | 'metamta.one-mail-per-recipient', | ||||
'bool', | 'bool', | ||||
true) | true) | ||||
->setLocked(true) | ->setLocked(true) | ||||
->setBoolOptions( | ->setBoolOptions( | ||||
array( | array( | ||||
pht('Send Mail To Each Recipient'), | pht('Send Mail To Each Recipient'), | ||||
pht('Send Mail To All Recipients'), | pht('Send Mail To All Recipients'), | ||||
▲ Show 20 Lines • Show All 95 Lines • Show Last 20 Lines |