Registry / messaging / aliyun-java-sdk-dysmsapi

aliyun-java-sdk-dysmsapi

JSON →
library2.2.1javamavenunverified

Java SDK for Alibaba Cloud's SMS service (Dysmsapi), enabling sending and managing SMS messages.

<dependency> <groupId>com.aliyun</groupId> <artifactId>aliyun-java-sdk-dysmsapi</artifactId> <version>2.2.1</version> </dependency>
INSTALL
IMPORT
SIG · ALIYUN-JAVA-SDK-DY
A
aliyun-java-sdk-dysmsapi
messagingjavav2.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SendSmsRequest
com.aliyuncs.dysmsapi.model.v20170525.SendSmsRequest

Creates a SendSmsRequest to send an SMS via Alibaba Cloud.

import com.aliyuncs.dysmsapi.model.v20170525.SendSmsRequest; import com.aliyuncs.DefaultAcsClient; import com.aliyuncs.profile.DefaultProfile; public class Example { public static void main(String[] args) { DefaultProfile profile = DefaultProfile.getProfile("cn-hangzhou", "accessKeyId", "accessSecret"); DefaultAcsClient client = new DefaultAcsClient(profile); SendSmsRequest request = new SendSmsRequest(); request.setPhoneNumbers("1234567890"); request.setSignName("MySign"); request.setTemplateCode("SMS_123456"); System.out.println("SMS request created"); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.2.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
57 hits · last 30 days
node
50
Google (search)
2
OpenAI (training)
1
Resources
aliyun-java-sdk-dysmsapi — mvn dependency:get aliyun-java-sdk-dysmsapi · libregistry