SMS and email services
Codes, notifications and sign-up mail via Alibaba Cloud DirectMail, SendGrid or SMTP; SMS via Alibaba Cloud SMS, SUBMAIL or a custom gateway. Free modules.
What it solves
Sign-up codes, password resets, certificate expiry reminders and node alerts have to arrive. Mail from your own server often lands in spam, and SMS needs an integration per vendor. The control plane has the common providers built in: pick one, enter the credentials, done.
| Type | Choices |
|---|---|
| Built-in SMTP (default), Alibaba Cloud DirectMail, SendGrid, third-party mail plugins | |
| SMS | Alibaba Cloud SMS, SUBMAIL, a custom HTTPS gateway, third-party SMS plugins |
Turning it on
Alibaba Cloud DirectMail, SendGrid, Alibaba Cloud SMS and SUBMAIL are official, free modules built into both editions.
- Open System → System configuration → Mail.
- Under Mail sender pick how to send and enter the credentials; send a test mail first, then save the sender.
- Under SMS settings choose the SMS provider, fill it in and save; restart the mail service for it to take effect.
- Notification channel switches and per-event templates are on the Notifications tab.
Main settings
| Setting | What it does |
|---|---|
| Mail sender | Built-in SMTP, Alibaba Cloud DirectMail, SendGrid or an enabled mail plugin |
| SMTP settings | Server, port and account for built-in SMTP |
| SMS settings | Provider and credentials; "use runtime configuration" inherits the deployment setting and does not turn SMS off |
| Verification templates | Code text for mail and SMS, SMS template ID |
The three sections save independently.
Typical uses
- Users in China: Alibaba Cloud DirectMail for mail, Alibaba Cloud SMS or SUBMAIL for SMS.
- Users abroad: SendGrid for mail.
- You already have an SMS platform: use the custom HTTPS gateway or install a matching SMS plugin.
Limits and notes
- Choosing or testing a mail provider needs its module; a saved choice stays when the module is not licensed, but sending fails.
- Third-party SMS and mail plugins must pass their contract test after install or upgrade before they can be chosen.