3 ms·
> It's a no-brainer Actually it's not: First, email and sms are different transport mechanisms. Second, email requires a To (envelope) address. Third, some
by redis_mlc 6y ago
> It's a no-brainer
Actually it's not:
First, email and sms are different transport mechanisms.
Second, email requires a To (envelope) address.
Third, some mgmt. like bounce and DKIM/SPF is needed.
You could write a subroutine to hide some of that, but I'm not sure there's a clear general solution.
- rsync 6y agoA few things ... When I say that it is a no-brainer, I mean that it is a no-brainer feature ... that is, something that everyone would have a very ready use-case for. Second, I think we're all well aware of the vast gulf between email service and the mobile phone network. That's the point of a service like Twilio: they have both systems (email and SMS) terminating inside of their own cloud environment. This means that "forwarding" an SMS to an email address, which would be rocket science for me, is easy for them. In fact, it's so easy that we can readily describe exactly how to implement it: just give us an email verb in twiml.
- social_quotient 6y agoWhat’s your use case here? Want to make sure I’m clear on it.
- rsync 6y ago"What’s your use case here? Want to make sure I’m clear on it." There are a lot of ways I would use this, but the basic use-case is as follows ... my primary phone number lives at Twilio and I receive SMS with this simple twiml: <Response> <Message to='+14155551212'>{{From}}: {{Body}}</Message> </Response> ... and I would simply like to do this: <Response> <Message to='+14155551212'>{{From}}: {{Body}}</Message> <Message to='me@mydomain.com'>Subject: Incoming SMS {{Body}}</Message> </Response> ... whatever ... you get the idea. I just want an email verb that I can plug into twiml and use in programmable messaging. The immediate issues that comes to mind is spam and unwanted messages, etc., but that's easy to solve - just have a simple challenge/response proof that you own whatever email address you are sending to and only allow people to send to email addresses they own. I am, after all, just emailing myself. cc'ing SMS, in programmable messaging, is currently very very difficult and time consuming. You either need to host code at some third party site[1] or you need to sign up for a sendgrid account (again, third party, additional account, etc.) and write functions to pass onto the sendgrid account ... but you can't actually fire off emails from sendgrid unless you authenticate with actual real names and physical addresses ... I just want to cc: myself from within twiml. Christ. [1] https://stackoverflow.com/questions/44768719/can-i-forward-sms-to-an-email-using-only-a-twiml-bin https://stackoverflow.com/questions/44768719/can-i-forward-s...