Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorMetaMTAConfigOptions.php
| Show First 20 Lines • Show All 132 Lines • ▼ Show 20 Lines | |||||
| PHPMailerLite, which will invoke "sendmail". This is appropriate if sendmail | PHPMailerLite, which will invoke "sendmail". This is appropriate if sendmail | ||||
| actually works on your host, but if you haven't configured mail it may not be so | actually works on your host, but if you haven't configured mail it may not be so | ||||
| great. A number of other mailers are available (e.g., SES, SendGrid, SMTP, | great. A number of other mailers are available (e.g., SES, SendGrid, SMTP, | ||||
| custom mailers), consult "Configuring Outbound Email" in the documentation for | custom mailers), consult "Configuring Outbound Email" in the documentation for | ||||
| details. | details. | ||||
| EODOC | EODOC | ||||
| )); | )); | ||||
| $immediately_description = $this->deformat(pht(<<<EODOC | |||||
| When email is sent, try to hand it off to the MTA immediately instead of | |||||
| queueing it for delivery by the daemons. If you are running the Phabricator | |||||
| daemons with "phd start", you should disable this to provide a (sometimes | |||||
| substantial) performance boost. It's on by default to make setup and | |||||
| configuration a little easier. | |||||
| EODOC | |||||
| )); | |||||
| $placeholder_description = $this->deformat(pht(<<<EODOC | $placeholder_description = $this->deformat(pht(<<<EODOC | ||||
| When sending a message that has no To recipient (i.e. all recipients are CC'd, | When sending a message that has no To recipient (i.e. all recipients are CC'd, | ||||
| for example when multiplexing mail), set the To field to the following value. If | for example when multiplexing mail), set the To field to the following value. If | ||||
| no value is set, messages with no To will have their CCs upgraded to To. | no value is set, messages with no To will have their CCs upgraded to To. | ||||
| EODOC | EODOC | ||||
| )); | )); | ||||
| $public_replies_description = $this->deformat(pht(<<<EODOC | $public_replies_description = $this->deformat(pht(<<<EODOC | ||||
| ▲ Show 20 Lines • Show All 135 Lines • ▼ Show 20 Lines | return array( | ||||
| $this->newOption('metamta.insecure-auth-with-reply-to', 'bool', false) | $this->newOption('metamta.insecure-auth-with-reply-to', 'bool', false) | ||||
| ->setBoolOptions( | ->setBoolOptions( | ||||
| array( | array( | ||||
| pht('Allow Insecure Reply-To Auth'), | pht('Allow Insecure Reply-To Auth'), | ||||
| pht('Disallow Reply-To Auth'), | pht('Disallow Reply-To Auth'), | ||||
| )) | )) | ||||
| ->setSummary(pht('Trust "Reply-To" headers for authentication.')) | ->setSummary(pht('Trust "Reply-To" headers for authentication.')) | ||||
| ->setDescription($reply_to_description), | ->setDescription($reply_to_description), | ||||
| $this->newOption('metamta.send-immediately', 'bool', true) | |||||
| ->setBoolOptions( | |||||
| array( | |||||
| pht('Send Immediately (Slow)'), | |||||
| pht('Send Via Daemons (Must Run Daemons)'), | |||||
| )) | |||||
| ->setSummary(pht('Improve performance by sending email via daemons.')) | |||||
| ->setDescription($immediately_description), | |||||
| $this->newOption('metamta.placeholder-to-recipient', 'string', null) | $this->newOption('metamta.placeholder-to-recipient', 'string', null) | ||||
| ->setSummary(pht('Placeholder for mail with only CCs.')) | ->setSummary(pht('Placeholder for mail with only CCs.')) | ||||
| ->setDescription($placeholder_description), | ->setDescription($placeholder_description), | ||||
| $this->newOption('metamta.public-replies', 'bool', false) | $this->newOption('metamta.public-replies', 'bool', false) | ||||
| ->setBoolOptions( | ->setBoolOptions( | ||||
| array( | array( | ||||
| pht('Use Public Replies (Less Secure)'), | pht('Use Public Replies (Less Secure)'), | ||||
| pht('Use Private Replies (More Secure)'), | pht('Use Private Replies (More Secure)'), | ||||
| Show All 39 Lines | |||||