HomePhabricator

Add a setting for selecting SMTP mail encoding

Description

Add a setting for selecting SMTP mail encoding

Summary:
Fixes T5956. We changed the default mail encoding to quoted-printable to fix delivery via SendGrid via SMTP, but this broke multiple other mailers.

  • Change the default back to 8bit (which works everywhere except SendGrid).
  • Add a configuration setting for selecting quoted-printable.
  • Document this issue.
  • Discourage use of SendGrid in documentation.
@klimek @nickz This reverts the quoted-printable fix for SendGrid. You will need to adjust your configurations (set phpmailer.smtp-encoding to quoted-printable) and restart your daemons or mail will get double newlines again.

Test Plan:

  • Sent mail via SendGrid with various phpmailer.smtp-encoding settings, saw mail arrive with specified encoding.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: klimek, nickz, epriestley

Maniphest Tasks: T5956

Differential Revision: https://secure.phabricator.com/D10397

Details

Provenance
epriestleyAuthored on
epriestleyPushed on Sep 2 2014, 5:47 PM
Reviewer
btrahan
Differential Revision
D10397: Add a setting for selecting SMTP mail encoding
Parents
rP6be8d65763ee: Convert two missed phutil_utf8_shorten() callsites
Branches
Unknown
Tags
Unknown
Tasks
T5956: Email has extraneous = in Exchange/Outlook