How do I enable SMS notifications in my web apps?

前端 未结 7 900
南笙
南笙 2021-01-15 17:55

I have a web application and I would like to enable real time SMS notifications to the users of the applications.

Note: I currently cannot use the Twitter API becau

相关标签:
7条回答
  • 2021-01-15 18:39

    Warning: extremely elegant solution ahead! (Android app)

    If you want to send SMS to any number in as simple of a manner as sending an e-mail:

    mail('configuredEMail@configuredDomain', '0981122334', 'SMS message'); // PHP
    

    or even:

    echo 'SMS message' | mail -s '0981234567' configuredEMail@configuredDomain.com
    

    or even from a GUI mail client, then read on.

    To skip explanations google Evorion SMS Gateway.

    What does it do? It forwards e-mail to SMS with a built-in battery saver. In order to send an SMS you simply send an email to 'configuredEMail@configuredDomain.com' with Subject 'phoneNumberToForwardTo'.

    Code contributions welcome.

    0 讨论(0)
提交回复
热议问题