Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorPHPMailerConfigOptions.php
| Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | return array( | ||||
| 'ssl', | 'ssl', | ||||
| 'ssl')), | 'ssl')), | ||||
| $this->newOption('phpmailer.smtp-user', 'string', null) | $this->newOption('phpmailer.smtp-user', 'string', null) | ||||
| ->setLocked(true) | ->setLocked(true) | ||||
| ->setDescription(pht('Username for SMTP.')), | ->setDescription(pht('Username for SMTP.')), | ||||
| $this->newOption('phpmailer.smtp-password', 'string', null) | $this->newOption('phpmailer.smtp-password', 'string', null) | ||||
| ->setHidden(true) | ->setHidden(true) | ||||
| ->setDescription(pht('Password for SMTP.')), | ->setDescription(pht('Password for SMTP.')), | ||||
| $this->newOption('phpmailer.smtp-encoding', 'string', '8bit') | $this->newOption('phpmailer.smtp-encoding', 'string', 'base64') | ||||
| ->setSummary(pht('Configure how mail is encoded.')) | ->setSummary(pht('Configure how mail is encoded.')) | ||||
| ->setDescription( | ->setDescription( | ||||
| pht( | pht( | ||||
| "Mail is normally encoded in `8bit`, which works correctly with ". | "Mail is normally encoded in `8bit`, which works correctly with ". | ||||
| "most MTAs. However, some MTAs do not work well with this ". | "most MTAs. However, some MTAs do not work well with this ". | ||||
| "encoding. If you're having trouble with mail being mangled or ". | "encoding. If you're having trouble with mail being mangled or ". | ||||
| "arriving with too many or too few newlines, you may try ". | "arriving with too many or too few newlines, you may try ". | ||||
| "adjusting this setting.\n\n". | "adjusting this setting.\n\n". | ||||
| "Supported values are `8bit` (default), `quoted-printable`, ". | "Supported values are `8bit`, `quoted-printable`, ". | ||||
| "`7bit`, `binary` and `base64`.\n\n". | "`7bit`, `binary` and `base64`.")), | ||||
| "The settings in the table below may work well.\n\n". | |||||
| "| MTA | Setting | Notes\n". | |||||
| "|-----|---------|------\n". | |||||
| "| SendGrid via SMTP | `quoted-printable` | Double newlines under ". | |||||
| "`8bit`.\n". | |||||
| "| All Other MTAs | `8bit` | Default setting.")), | |||||
| ); | ); | ||||
| } | } | ||||
| } | } | ||||