Homec4science

Add a setting for selecting SMTP mail encoding

Authored by epriestley <git@epriestley.com> on Sep 2 2014, 19:47.

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

Committed
epriestley <git@epriestley.com>Sep 2 2014, 19:47
Pushed
aubortJan 31 2017, 17:16
Parents
rPH6be8d65763ee: Convert two missed phutil_utf8_shorten() callsites
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH957c1d6602a5: Add a setting for selecting SMTP mail encoding (authored by epriestley <git@epriestley.com>).Sep 2 2014, 19:47