One of the easiest ways to do that is to email the SMS message. Most carriers provide an email address of the general form of "firstname.lastname@example.org". The exact format of the username (phone number) and carrier SMS-via-email domain name varies by carrier, but as long as you know which carrier is involved, the Wikipedia lists the rules for many major carriers in the USA, India, and various other countries.
If you do not know (or cannot depend on) the identity of the recipient's mobile phone service carrier, you can subscribe to a gateway service that will handle the SMS mail in a more general-purpose fashion.
Sending an email whose size exceeds the SMS character limit may fail or truncate the message, so keep that in mind.
An IDE is no substitute for an Intelligent Developer.
One difficulty with this approach (besides having to know the carrier) is that not all people may have signed up for plans that include the use of such a service, even if their carrier provides it in general. For a commercial service, the gateway approach would be the more general solution (search for "bulk sms sending" or some such phrase).
I don't follow you, Ulf. As far as I'm aware, if the recipient has SMS receive capabilities, there will be an email address. I've never seen a case where it was something extra that you'd have to sign up for. I'm not sure but what the independent gateway services aren't using the email approach themselves, so if there are exceptions, I would want to be assured of deliverability before putting my money down.
Joined: Mar 22, 2005
I've never seen a case where it was something extra that you'd have to sign up for.
I guess it's possible that pricing it like that isn't done in the US, but it certainly is in Europe (or was, when I last shopped around for feature-phone plans a few years back). It's not so much a feature that you could sign up for individually, but would be part of a more expensive plan along with other features.