Page MenuHomePhabricator

Give "MetaMTAMail" a "message type" and support SMS
ClosedPublic

Authored by epriestley on Jan 21 2019, 11:12 PM.
Tags
None
Referenced Files
F15504986: D20012.id47811.diff
Mon, Apr 14, 11:08 PM
F15502712: D20012.id47776.diff
Mon, Apr 14, 3:29 AM
F15499375: D20012.id.diff
Sun, Apr 13, 2:51 PM
F15492660: D20012.diff
Sat, Apr 12, 4:57 PM
F15407364: D20012.diff
Tue, Mar 18, 5:12 PM
F15390360: D20012.id47776.diff
Mar 15 2025, 6:09 AM
F15389744: D20012.id47811.diff
Mar 15 2025, 5:36 AM
F15383253: D20012.diff
Mar 14 2025, 3:56 PM
Subscribers
None

Details

Summary

Depends on D20011. Ref T920. This change lets a "MetaMTAMail" storage object represent various different types of messages, and makes "all" the bin/mail stuff "totally work" with messages of non-email types.

In practice, a lot of the related tooling needs some polish/refinement, but the basics work.

Test Plan

Used echo beep boop | bin/mail send-test --to epriestley --type sms to send myself SMS.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

amckinley added inline comments.
src/applications/metamta/engine/PhabricatorMailSMSEngine.php
49–53

Shouldn't this be impossible? I haven't checked to see if we automatically make the first number added a primary or not, though.

This revision is now accepted and ready to land.Jan 22 2019, 12:08 AM
src/applications/metamta/engine/PhabricatorMailSMSEngine.php
49–53

This one is possible: just don't add any contact numbers to your account.

(Technically, this should become part of whether or not the actor is "deliverable" in a future change, but this is just getting a baseline working.)

The one below is "impossible" but enterprising users can go uPdAtE TaBlE sET ....

This revision was automatically updated to reflect the committed changes.