On Aug 22, 2018, at 2:00 PM, Jim Hassler wrote:
> We had a need to send texts to company employees so we have the luxury of
> knowing the cell phone provider. So, we use something like this…
>
> Case of
>
> : ([User]Company Cell Phone Provider="AT&T")
>
> aEmailAddress{1}:=$cellPhoneNum+"@txt.att.net"
>
> emSEND EMAIL ("Linbeck Lean Video";<>CR+[Video]Web
> Address;$fromAddress;"aEmailAddress";"";"";"")
>
>
> : ([User]Company Cell Phone Provider="Verizon")
>
> aEmailAddress{1}:=$cellPhoneNum+"@vtext.com"
>
> emSEND EMAIL ("Linbeck Lean Video";<>CR+[Video]Web
> Address;$fromAddress;"aEmailAddress";"";"";"")
Thanks for the info. Several people have responded that most providers have a
free email service that allows sending a text. I’d love to be able to do this,
but for this client it’s just not possible to always get the person’s cell
phone provider. So we will have to use a pay service.
Of all the SMS web services out there twilio.com seems to be the most popular
with 4D developers. I have a few say they can provide me with some code to do
the http work with Twilio’s API. So I’ll probably go that route.
It was a bit unclear to me exactly what the cost is with Twilio. Their website
lists many services available for sending and receiving SMS and even MMS. From
what I could gather it costs about $1.00 a month for the pay-as-you-go option,
and 1 cent for each SMS sent.
It is not exactly 1 cent for every SMS because you pay Twilio $0.0075 for each
SMS and they you pay another fee to the carrier of the person’s cell phone.
AT&T is $0.0025 per SMS and Sprint is $0.005 per SMS. In any event the cost
seems incredibly low.
If someone knows the exact pricing scheme for Twilio, I’d love to hear it. I’m
not sure I completely understand it.
One other question is do you need a cell phone account to send SMS with Twilio?
If so, I guess the company could get a cell phone for the business and just
never use it. It would be just so you could send SMS via 4D.
Tim
*****************************************
Tim Nevels
Innovative Solutions
785-749-3444
[email protected]
*****************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************