概述
We use casdoor/go-sms-sender to send SMS for Casdoor. The go-sms-sender library currently supports Twilio, Submail, SmsBao, Alibaba Cloud, Tencent Cloud, Huawei Cloud, and Volc SMS APIs. If you want to add support for other SMS providers, you can either raise an issue or submit a pull request.
Adding an SMS provider
点击
添加来添加一个新的提供商。在
类别部分选择短信。
选择你的提供商的类型。

从你的短信提供商处获取必要的信息,并填写相应的字段。
Proxy configuration
For SMS providers that use HTTP APIs (such as Custom HTTP SMS), you can enable proxy support if your server cannot directly access the SMS service. When enabled, SMS traffic will be routed through the SOCKS5 proxy configured in Casdoor's configuration file.
To enable proxy support, toggle the Enable proxy switch in the provider settings. This option is available for Custom HTTP SMS providers and helps when operating in restricted network environments.