Java SDK
java
This SDK document is aimed to help Java developers debug and integrate SendCloud API.
1.2 version
Email_Message SDK is a toolkit for Java developers to efficiently send messages and emails by SendCloud API.
Resources
See API parameter and return code documents in different modules, e.g.Email API regular delivery, Email API template delivery, SMS API send, SMS API return code
1.2 Send Guide
-
Configure files. Users are required to configure config.properties file under resources directory before using API. If you are to send emails, please configure api_user and api_key; if you are to send messages, please configure sms_user and sms_key.
-
Add downloaded SDK to your program directory. For more details, refer to code examples in demo directory.
Code Example Directory Code example path:../sendcloud-sdk/sdk/src/main/java/com/sendcloud/sdk/demo/mail
Filename | Description |
---|---|
SendMail.java | example of sending email |
SendSms.java | example of sending message |
SendVoice | example of sending message |
Latest version
Send Guide
-
Support the international version of mail sending, as well as their respective international and domestic interface functions.
-
In the configuration file "sendcloud.properties", CN- stands for domestic interface, SGP- stands for international interface, and CN is called by default.
-
To send mail, please configure API_USER and API_KEY.
-
To send SMS, please configure SMS_USER and SMS_KEY.