Java back-end integration to send SMS functionality (with Ali cloud Short Message Service) [conscientious article]

Java back-end integration to send SMS functionality (with Ali cloud Short Message Service)

 

First, my main steps to the main shots, basically every step of the shots, so it is inevitable that some significant long-winded, not like do not spray. I like to see the text can be accessed

https://help.aliyun.com/document_detail/55284.html?spm=5176.10629532.106.1.6e371cbeCsynlv

Integration Steps:
① Ali cloud messaging service address: https:? //Www.aliyun.com/product/sms utm_content = se_1000097004

② After the opening of free will jump to Ali cloud console

③ get AccessKey

④ does not recommend using AccessKey, the specific reasons see the figure tips

⑤ not opened, please open immediately

After opening ⑥ Return to the console will come the following pages, first create a user RAM, pay attention to check under the "AccessKey automatically generated for the user" option

⑦ then click Save AK Information

⑦ according to the format it requires the user to fill in sub-account

⑧ adding SMS signature and SMS templates

⑨ authorized user RAM

⑩ download the SDK Kit

(Mainly to get the java \ api_demo \ alicom-dysms-api \ src \ main \ java \ com \ alicom \ dysms \ api \ SmsDemo.java use this demo)

https://help.aliyun.com/document_detail/55359.html?spm=a2c4g.11186623.2.8.Hbe1Be

11. The introduction of the jar package (red box two), according to the official introduction of the time-dependent Maven has a pit, version 3.7.1 will be reported this an exception, changed with version 3.3.1 just fine.

12. Send SMS tools
 

Guess you like

Origin blog.csdn.net/qq_41570658/article/details/91392003