HomePhabricator

Make the "Test" adapter support both SMS and email

Description

Make the "Test" adapter support both SMS and email

Summary:
Depends on D20012. Ref T920. If you have a test adapter configured, it should swallow messages and prevent them from ever hitting a lower-priority adapter.

Make the test adapter support SMS so this actually happens.

Test Plan: Ran bin/mail send-test --type sms ... with a test adapter (first) and a Twilio adapter (second). Got SMS swallowed by test adapter instead of live SMS messages.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T920

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

Details

Provenance
epriestleyAuthored on Jan 21 2019, 11:15 PM
epriestleyPushed on Jan 23 2019, 10:07 PM
Reviewer
amckinley
Differential Revision
D20013: Make the "Test" adapter support both SMS and email
Parents
rPaf71c51f0a0b: Give "MetaMTAMail" a "message type" and support SMS
Branches
Unknown
Tags
Unknown
Tasks
T920: Provide SMS Support
Build Status
Buildable 21665
Build 29547: Run Core Tests