SDK

java

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

Java SDK is divided into 1.2 and 1.3 versions, 1.2 only supports their respective domestic interface functions, and 1.3 adds support for international mail sending

1.2 download

Email_Message SDK1.2

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

Java_SDK

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.

PHP

This PHP-based SDK document is aimed to help PHP developers debug and integrate SendCloud API.

Click to download:Email_Message SDK

Email_Message SDK is a toolkit for PHP developers to efficiently send messages and emails by SendCloud API.

Resources

See API parameter and return code description in different modules, e.g.Email API regular delivery, Email API template delivery, SMS API send,, SMS API return code.

Guide

  1. Add downloaded SDK to your program directory. For more details, refer to code examples in demo directory.

Code example Directory Code example path:../sendcloud-php-sdk/examples

Filename Description
SendMail.php example of sending email
SendSms.php example of sending message
SendVoice.php example of sending voice message