Java SDK

java

This SDK document is aimed to help Java developers debug and integrate SendCloud API.

1.2 version

SDK1.2 download

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

  1. 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.

  2. 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

Latest download

Send Guide

  1. Support the international version of mail sending, as well as their respective international and domestic interface functions.

  2. In the configuration file "sendcloud.properties", CN- stands for domestic interface, SGP- stands for international interface, and CN is called by default.

  3. To send mail, please configure API_USER and API_KEY.

  4. To send SMS, please configure SMS_USER and SMS_KEY.