Setup: Getting Ready to Send
Before the first real message, you must choose how Odoo sends the text. Nothing is sent from your own phone. Odoo uses a provider, and the provider charges you for every message.
The Send SMS Setting
Open Settings > General Settings and go to the block Contacts. The option Send SMS tells Odoo that you want to send text messages to your contacts. This option has no tick box, because it is on as soon as the SMS Marketing app is installed. You only choose the provider and the credits here. The link Manage Service & Buy Credits opens the page of Odoo where you buy credits. Below it, the block Odoo In-App Purchase has a link, View My Services, to see all the paid services that your database uses (SMS is one of them).
Sending with Odoo (the default)
The default provider is Odoo itself, and the setting shows it as Send via Odoo. You buy credits, and Odoo sends the texts for you. Before the first message, Odoo asks you to register the SMS account. The registration has three small steps:
Register your SMS account. You type a phone number, and Odoo sends a text with a verification code to it.
You type the code, and click Register.
Choose your sender name. This is the name that the customer sees as the sender, instead of a number. It must have from 3 to 11 letters, digits, dashes or spaces. You can click Skip for now and set it later from the IAP account.
If you try to send a mailing before the account is registered, Odoo shows a yellow bar on the mailing form: It appears your SMS account is not registered. Click here to set up your account. If the account has no credits left, the bar says: It appears you don't have enough IAP credits. Click here to buy credits. Both bars have a link that opens the right page. On the list of mailings the same warning shows as a short label (Insufficient credits or Unregistered account) on the card of the mailing.
This screen is a mailing that was sent while the credits were finished. The bar at the top is the credit warning, and the button Retry at the top left sends the failed messages again after you buy credits.
Sending with Twilio
Twilio is a company that sells text messages. If your company already has a Twilio account, you can send the messages from it, and you pay Twilio and not Odoo. The Twilio link comes with a small Odoo Community module named Twilio SMS, but this module is not installed by default. Install it from the Apps (search for Twilio SMS). After this, the setting Send SMS shows two choices: Send via Odoo and Send via Twilio.
Choose Send via Twilio, and a link appears: Configure Twilio Account. Odoo asks you to save the setting first, and then it opens the window Manage Twilio SMS.
Account SID. The first code of your Twilio account. It starts with the letters AC and it has 34 characters. The link Need help? opens the page of Odoo that explains how to find it.
Auth Token. The secret code of your Twilio account. It is hidden on the screen. Treat it like a password.
Test Number and the button Send test SMS. Type your own number and click the button. Odoo sends one text to it, and this is the quickest way to know that the account works.
Phone Numbers. The numbers that you bought at Twilio, one for each country. The button Load from Twilio fills the list from your account. You can also use Add a line and choose the Country and the Twilio Number. When Odoo sends to a customer, it uses the number of the country of that customer.
Update Account saves everything and closes the window.
The choice of the provider is saved on the company, and you can go back to Send via Odoo at any time.
What One SMS Costs
A text message has a limit. A message that uses only the normal letters, digits and the common signs can have 160 characters. This is called GSM. If the message is longer, the phone cuts it into parts of 153 characters, and each part is one SMS. If the message has even one special character, for example an emoji, a Chinese letter or some accented letters, the whole message changes to a different way of writing, called Unicode. A Unicode message can have only 70 characters, and a long one is cut into parts of 67 characters.
The price follows the number of parts. One message with 3 parts to 100 people costs 300 SMS. This is why you should keep the text short and avoid emojis if you pay for every part. The next screen is the window Send SMS (section 4). It shows a counter at the bottom right while you type.
The counter says 59/70 | 1 SMS (UNICODE). The number 59 is the characters that we typed, the number 70 is the limit for this way of writing, and 1 SMS is the number of parts. The small i icon at the end opens the price list of Odoo for each country. Without the emoji, the same text says 56/160 | 1 SMS (GSM7).