Digital messages are created by transcoding files like text, images, audio, and video and sending them to users via Short Message Service (SMS). This provides an engaging rich media experience. You can send Digital messages from the console or by using an API.
Prerequisites
You have signed up for an Alibaba Cloud account and completed real-name registration.
You have enabled the multimedia message service.
Your Digital message template has been approved. For more information, see Add a Digital message template.
Procedure
Send a digital message from the console
- Log on to the Short Message Service console.
In the left-side navigation pane, choose .
On the Campaign Assistant tab, click Add Sending Task and follow the on-screen instructions to configure the task.
The following table describes the parameters.
Parameter
Description
Task name
The name of the task. The name can be up to 30 characters in length.
SMS template
Select a Digital message template.
Audience data
On the Audience Management page, add and upload the phone numbers of recipients. You can then select the uploaded audience data here.
Scheduled sending
Turn on the Scheduled Sending switch to specify a date and time to send the message.
NoteTo cancel a scheduled task, you must go to the Campaign Assistant tab and click Revoke at least 5 minutes before the scheduled time.
For messages sent to phone numbers in the Chinese mainland, you can only schedule sending between 08:00 and 22:00.
Click Submit Sending Task.
Submitted tasks are typically processed within 10 minutes.
Send a digital message using an API
Preparation: Before you start, confirm the permissions of your RAM user, obtain an AccessKey ID and AccessKey Secret, and configure your development environment. For detailed instructions, see Send an SMS message using an API.
Send SMS: Digital messages and text messages share the same API for sending SMS. Use the SendSms operation to send a single digital message, or use the SendBatchSms operation to send digital messages in batches. The
SignNameandTemplateCodeparameters must be set to an associated signature and template. Otherwise, the message sending will fail.View sending history: You can view the sending records for your Digital messages on the page in the console. To view overall sending trends, go to the page.