Skip to content

Custom Notification Configuration

The Ubases IoT Open Platform supports custom SMS and email providers and notification templates for Apps. Developers can customize notification behavior based on the available template types.

Enable Custom Notification Configuration

Go to App Development > Notification Configuration.

image-20250102102707560

By default, the notification mode is Use platform SMS and email services directly. To use your own providers, switch to Configure your company's SMS and email services.

image-20250103083412019

You can configure both SMS and email providers.

Configure SMS

To support different SMS platforms, configuration is defined in JSON for easier integration of additional providers later. The following example uses Alibaba Cloud SMS, which is already integrated.

image-20250103145653519

JSON configuration description

{
  // SMS provider. Currently only Aliyun is supported.
  "provider": "Aliyun",
  // AccessKey ID for the Alibaba Cloud account.
  "accessId": "xxxxxxxxxxxxxxxxxxx",
  // AccessKey secret for the Alibaba Cloud account.
  "accessKey": "xxxxxxxxxxxxxxxxxxxxxxx",
  // SMS signatures in Chinese and English.
  "sign": {
    "zh": "Chinese signature",
    "en": "English signature"
  },
  // Apply for 10DLC through an Alibaba Cloud support ticket when sending international SMS messages.
  "other": [
    "10DLC"
  ]
}

Email Configuration

The standard email settings below support most email providers.

Email platforms overview

Domestic email:

Tencent Mail (QQ Mail and Tencent Exmail), NetEase Mail (163 and 126), Sohu Mail, Sina Mail, 139 Mail, 189 Mail

International email:

Outlook, Gmail, Zoho Mail;

image-20250103150031967

Mail service name: Used only as a label so developers can identify the configuration;

Account: The sending email account

Password: The email password or client password; we recommend a dedicated client sending password;

SMTP server address: The mail service address; configure according to your email provider—common examples are listed below;

SMTP server port: The mail service port

Signature: Prefix for the email subject, for example: [Ubases IoT] xxxxxxxx

Enable Exchange server: Check this if your mailbox uses Exchange;

Auth type: Select based on your email authentication method

Encryption type: Select based on your email encryption method

Email Configuration Examples by Platform

Domestic email platforms

Email platformSMTP addressPortAuth typeEncryption
QQ Mailsmtp.qq.com465 or 587Username and passwordSSLTLS
Tencent Exmailsmtp.exmail.qq.com465Username and passwordSSLTLS
163 Mailsmtp.163.com465 or 994Username and passwordSSLTLS
126 Mailsmtp.126.com465 or 994Username and passwordSSLTLS
Sohu Mailsmtp.sohu.com465Username and passwordSSLTLS
Sina Mailsmtp.sina.com465Username and passwordSSLTLS
139 Mailsmtp.139.com465 or 587Username and passwordSSLTLS
189 Mailsmtp.189.cn465Username and passwordSSLTLS

International email platforms

Email platformSMTP addressPortAuth typeEncryption
Outlooksmtp.office365.com587Username and passwordSTARTTLS
Gmailsmtp.gmail.com587Username and passwordSTARTTLS
Zoho Mailsmtp.zoho.com587Username and passwordSTARTTLS

Notification Template Configuration

Each SMS provider has its own set of SMS templates. All email providers share the same notification templates.

SMS notification templates

image-20250103155223375

Open the template list and click Add to create a template. The third-party template code must be obtained from Alibaba Cloud. The content entered here is for preview only and is not synchronized with Alibaba Cloud. Within each SMS provider, the combination of template type, notification method, and language must be unique.

image-20250103162745497

Email notification templates

image-20250103155417773

Open the template list and click Add to create a template. Email templates are unique by template type + notification method + language. The send content is the notification body.

image-20250103163026918

Released under the MIT License. Build Time 2026-09-11 14:52:23