Email to sms with Mozilla Thunderbird

This guide explains how you can setup Ozeki SMS Gateway and Mozilla Thunderbird to send/receive sms. This configuration will allow you to setup e-mail to SMS and sms to e-mail forwarding.

The first step in order to be able to send and receive SMS using Thunderbird is to establish a Service provider connection to which the message will be forwarded. In this documentation, the HTTP server plays this role so install an HTTP server in the Ozeki SMS Gateway (Figure 1).

install http server
Figure 1 - Install HTTP Server

The next step is to create an SMTP User to receive emails from Thunderbird. Open the Apps menu, the left side panel contains the already installed users and applications. The right side panel contains the users and applications you can install with a brief description next to them. Search the SMTP User and click the blue 'install' button next to it (Figure 2).

smtp user install
Figure 2 - SMTP User install

Clicking the Install link will bring up the SMTP User installation panel. Here, you need to enter a unique username in the Username field and a password in the Password filed (Figure 3).

smtp username and password
Figure 3 - SMTP username and password

Now create a POP3 User to send emails to the Thunderbird. Open the Apps menu, the left side panel contains the already installed users and applications. The right side panel contains the users and applications you can install with a brief description next to them. Search the POP3 User and click the blue 'install' button next to it (Figure 4).

pop3 user install
Figure 4 - POP3 User install

Clicking the Install link will bring up the POP3 User installation panel. Here, you need to enter a unique username in the Username field and a password in the Password filed (Figure 5).

pop3 username and password
Figure 5 - POP3 username and password

Then you must then enable authentication on the SMTP server. To do this, open the SMTP server details page in the advanced menu as the Figure 6 shows.

smtp server details
Figure 6 - SMTP server details

On the SMTP server Details page, select the Configure tab and enable 'Require SMTP authentication' in the User Authentication section as you can see in the Figure 7.

enable require authentication
Figure 7 - Enable Require Authentication

Now download the latest version of Thunderbird from thunderbird.net (Figure 8).

download mozilla thunderbird
Figure 8 - Download Mozilla Thunderbird

Open the installer and click the 'Next' button on the Welcome page to begin the installation (Figure 9).

install mozilla thunderbird
Figure 9 - Install Mozilla Thunderbird

Select the installation location and start the installation by clicking the Install button (Figure 10).

start thunderbird installation
Figure 10 - Start Thunderbird installation

When the installation is complete, click Finish button and Thunderbird will start as the Figure 11 shows.

installation finished
Figure 11 - Installation Finished

Now you need to create a new email account in Thunderbird. Select New section in the Menu and then the Existing Mail Account option (Figure 12).

add new mail account
Figure 12 - Add new mail account

Then enter your name and email address and then the password you used for SMTP User. In the Advanced configure section. Enter the IP address of the SMS Gateway on the server and the default POP3 and SMTP ports on the port, which are 110 and 25. Finally, for SMTP, select Normal Password for Authentication. Username should be SMTP and POP3 user names (Figure 13).

setup e-mail details
Figure 13 - Setup e-mail details

The next step is to send a message from Thunderbird to the SMS Gateway. To do this, select the Write menu. You can enter the recipient in the form phone number@domain where the phone number is the recipient's phone number and the domain is the SMS Gateway domain name. Both the subject and the body part will be sent in the SMS (Figure 14).

send message
Figure 14 - Send Message

You will see that both parts of the message appear on the HTTP server as the Figure 15 shows.

message received by the http server
Figure 15 - Message Received by the HTTP Server

In order to receive a message on the POP3 user, the routing table must be set to forward incoming messages here. Open the routing menu and for the TO connection, select the POP3 user (Figure 16).

edit incoming route
Figure 16 - Edit incoming Route

Now send a message back from the HTTP server to the SMS Gateway.

send message back to thunderbird
Figure 17 - Send Message back to Thunderbird

Finally, if you press the Get Messages button in Thunderbird you will see that the message arrives in your inbox as you can see in the Figure 18.

message received by the thunderbird
Figure 18 - Message Received by the Thunderbird

More information