当前位置:网站首页>Alibaba cloud international receipt message introduction and configuration process
Alibaba cloud international receipt message introduction and configuration process
2022-07-27 08:15:00 【87cloud】
The receipt message is in use API After the interface sends SMS , By configuring MNS Message queue consumption mode or HTTP Batch push mode , Receive the result of SMS sending status and the SMS content replied by the user , Help you master the success rate of sending SMS and provide support for other businesses . Next and 87cloud Learn about the introduction and configuration process of Alibaba cloud international receipt message :
explain
- If a network exception occurs 、 Response timeout, etc , It may cause duplicate push of receipt message 、 Failure to obtain the receipt message .
- Because the system has cache , After opening the receipt message, it will not be pushed in full immediately , Suggest waiting 3 Confirm whether it has taken effect in minutes .
Receipt message mode
The modes of receiving receipt messages are MNS Message queue consumption patterns and HTTP There are two batch push modes , You can choose the appropriate mode to receive the receipt message according to the actual situation .
- MNS Message queue consumption pattern
MNS The message queue consumption pattern indicates that it passes MNS Of Queue Model to receive SMS receipt messages and uplink SMS content in a specified region . All business messages of cloud communication support MNS The message service sends out . The user enables it on the SMS console MNS The message service subscribes to the specified message type (MessageType) when , The system will automatically generate this type of independent message queue and its name (QueueName). You can use this message queue name (QueueName) And message types (MessageType), By calling SDK Get the SMS status report in the queue from the background .
- HTTP Batch push mode
HTTP The batch push mode indicates passing HTTP POST Send a message to the specified Web URL. Set in the SMS console HTTP Callback URL(callback_url) after , When business messages are generated , The system will use HTTP Request for POST Way to send business messages ( SMS status report ) Send to the specified callback URL On , Users can receive this message directly .
Receipt message type
After selecting the receipt message mode , You also need to select the message type , Receive receipt messages in different scenarios . According to the SMS sending status 、 Different scenarios such as the message content replied by the user , We provide the following message types , You can choose according to your business needs .
| name | describe | MNS Message queue consumption pattern | HTTP Batch push mode |
|---|---|---|---|
| SmsReport( SMS downlink receipt report message ) | Downlink refers to the SMS received by users , For example, the message notification sent by the operator 、 Business reminder and other SMS . By subscribing SmsReport SMS downlink status report , You can get the sending status of each SMS , Know whether the SMS reaches the status and relevant information of the end user . | SmsReport | SmsReport |
Configure receipt message receiving mode
If you need to receive a receipt message , You must first enable message reception on the SMS console . The following example shows how to configure the SMS downlink receipt message report .
- Log in to SMS console .
- On the left navigation bar , Select system settings > General settings .
- On the general settings page , Click interface API Tab .
- In the cloud communication message receiving area , Turn on the specified mode .
- MNS Message queue consumption pattern
Turn on MNS The function switch on the left side of the message queue consumption mode .

- HTTP Batch push mode
- Turn on HTTP Function switch on the left side of batch push mode .
- Fill in the receiving address , Address example
- Click save .

- MNS Message queue consumption pattern
MNS Message queue consumption mode request parameters
| name | type | Whether the choice | Example value | describe |
|---|---|---|---|---|
| MessageType | String | yes | SmsReport | Message type :SmsReport. |
| QueueName | String | yes | Alicom-Queue-*****-SmsReport | The message queue name provided . Log in to SMS console , Select system settings > General settings > Interface API, View the queue name . |
边栏推荐
- Use of "PHP Basics" Boolean
- QT creator code style plug-in beautifier
- 如何在 60 秒内去分析和定位问题?
- 开怀一笑
- Debug: generic related "unresolved external symbols"
- ERP生产作业控制 华夏
- 2020国际机器翻译大赛:火山翻译力夺五项冠军
- Translation character '/b' in C #
- You may need an additional loader to handle the result of these loaders.
- Modification case of Ruixin micro rk3399-i2c4 mounting EEPROM
猜你喜欢
随机推荐
Development of three database general SQL code based on PG Oracle and MySQL
擎创科技加入龙蜥社区,共建智能运维平台新生态
CommonTitleBar hide left right
What is the real HTAP? (1) Background article
The seta 2020 international academic conference will be held soon. Welcome to attend!
Use of "PHP Basics" Boolean
Shell scripts related
[NPUCTF2020]ReadlezPHP 1
北京五日游记
想让照片中的云飘起来?视频编辑服务一键动效3步就能实现
2020国际机器翻译大赛:火山翻译力夺五项冠军
mqtt指令收发请求订阅
Dormitory access control system made by imitating the boss (III)
Use of NPM
Local Oracle reported ora-12514: tns: the listener cannot recognize the requested service at present
Plato farm is expected to further expand its ecosystem through elephant swap
[applet] how to get wechat applet code upload key?
How to obtain the cash flow data of advertising services to help analyze the advertising effect?
On data security
opengauss从库停掉,发现主库无法写入数据











