Previous Thread
Next Thread
Print Thread
Send text message by EMAILX #35486 20 Aug 22 09:35 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline OP
Member
OP Offline
Member
J
Joined: Jun 2001
Posts: 11,794
This question comes up periodically: how to use EMAILX to send a text message. The answer is that virtually phone carriers offer a special email address format that allows you to email to a phone number on their service. The main problem is that you have to find out which carrier the recipient's phone is serviced by. There are probably services that allow you to look that up based on the phone # alone, but last I checked they were pay services. (There are also service providers that offer a universal gateway from email to text, also at a fee.) If you need to send to a vast and changing population of phones (like, say, a doctors office to confirm appointments), then you're probably better off with one of the all-in-one services. But if you have a limited set of recipients and it's practical to find out their carrier, then you can just email them with EMAILX. (As an example, you may want to set up automatic alert text messages that are sent to key support individuals when certain events occur.)

Here's a 2022 list of the carriers and their corresponding email-to-text addressing schemes: SMS gateway.

Note that SMS messages are limited to 160 characters; after that you need (or may be auto-switched to) MMS. But even then, one problem to watch out for when emailing out through corporate SMTP services is that they are sometimes set up to automatically append some standard stuff to the end of every email (like privacy/legal notices, disclaimers, logos, etc.) most of which will muck up the simple result you're looking for.

Re: Send text message by EMAILX [Re: Jack McGregor] #35487 22 Aug 22 11:31 AM
Joined: Jun 2001
Posts: 3,406
J
Jorge Tavares - UmZero Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 3,406
Curiously, I've just developed a module for a customer to send SMS using an external service: http://optitelecom.sms-easy-sms.com
The API is very simple and I've wrapped it in a Console with settings, if someone needs an almost ready-to-use solution, be my guest to ask for the code.

I was about to search here about A-Shell running as a service, I guess that I've read something about that here, no?
So,I take the chance to ask.

This module searches for invoices in an SQL database and send SMS for the new ones, I can create a task on the server, but maybe a service could be better and it would be the chance to try something new :-)

Attached Files sms.png

Jorge Tavares

UmZero - SoftwareHouse
Brasil/Portugal
Re: Send text message by EMAILX [Re: Jack McGregor] #35488 22 Aug 22 02:34 PM
Joined: Jun 2001
Posts: 3,406
J
Jorge Tavares - UmZero Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 3,406
Regarding the A-Shell running as a service, I found it here How to launch background job , where you mention the ATSD solution.


Jorge Tavares

UmZero - SoftwareHouse
Brasil/Portugal

Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3