HomePhorge

Upgrade Sendgrid to the modern mailer API; removes "api-user" option

Description

Upgrade Sendgrid to the modern mailer API; removes "api-user" option

Summary:
Ref T920. Ref T5969.

  • Update to the new "$message" API.
  • Update to Sendgrid v3.
  • Add a timeout.
  • This removes the "api-user" option, which Sendgrid no longer seems to use.

Test Plan: Sent Sendgrid messages with bin/mail send-test ... using subject/headers/attachments/html/to/cc.

Reviewers: amckinley

Reviewed By: amckinley

Subscribers: jbrownEP

Maniphest Tasks: T5969, T920

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

Details

Provenance
epriestleyAuthored on Jan 5 2019, 6:30 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPd7da3560ec56: Update Mailgun adapter for the new mail adapter API
Branches
Unknown
Tags
Unknown

Event Timeline