In this tutorial, I am going to show you how to send an SMS/ text message notification form your WordPress website, without the need for a plugin. The process is pretty straightforward and easy to do.

Every cell phone carrier has an SMS Gateway. This is an email domain that all text messages are sent through. The table below shows the SMS gateways for most popular carriers:

Provider Email-to-SMS Address Format
AllTel number@text.wireless.alltel.com
AT&T number@txt.att.net
Boost Mobile number@myboostmobile.com
Cricket number@sms.mycricket.com
Sprint number@messaging.sprintpcs.com
T-Mobile number@tmomail.net
US Cellular number@email.uscc.net
Verizon number@vtext.com
Virgin Mobile number@vmobl.com

Sending an email to this gateway will send you an SMS. You simply add your cell phone number to the gateway domain. For example, if your phone number is 800-763-8864, and your carrier is AT&T, an email sent to 8007638864@@txt.att.net would be sent to your phone as a text message.

This means that getting your WordPress site to send you an SMS is a simple matter of adding your carrier email address to the notification email field. To do this, go to wp-admin>>general and enter your carrier email in the email address field, as shown below:

email field sms

Note however that because WordPress only provides one notification email field, you will not get your messages to your business or personal email.

But what if you want to have a contact form or any other kind of form send you a message? To do that, find the form you want to trigger an SMS, and set the notification email to the carrier email. Let’s configure a form created with gravity forms an example.

First, go to your wp-admin and navigate to the Gravity Forms form you want to send a text message from. In this example, I have created a simple email form. Hover over the form title, then over Settings. From the drop-down, click “Notifications”.

gfnotify

With plugins like Gravity Forms, you can create multiple notifications. So you can create a notification to send to your email, and one to send an SMS to your phone. By default, we already have a notification going to our admin email address. So let’s create one to send us a text message. Click “Add new”

Next, we need to give our notification a name. Let’s call this one  “SMS” Leave the Send to field set to email, and enter your carrier email address in the “Send to Email field”

setupnotifictiongf

The remaining fields can be filled out to suit your needs, When you are done, click Save Notification. Now, place the form on any page or widget you want it to appear on.

Finally, let’s test our form and make sure it works! Visit the page where you inserted this form. Fill the form out and submit. Within a minute or so, you should get a text message on your phone. Please note that with some carriers, there may be a delay as long as 5 minutes before the text message is sent to your phone.

Now you know how to make your website send you SMS notifications without plugins or third party services. See, I told you this would be easy!

 

Pin It on Pinterest

Shares
Share This