Saltar al contenido principal

Visión general

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

  1. Haz clic en Add para añadir un nuevo proveedor.

  2. Selecciona SMS en la sección de Categoría.

    Seleccionar Categoría

  3. Elige el tipo de tu proveedor.

    Seleccionar Tipo

  4. Recupera la información necesaria de tu proveedor de SMS y completa los campos correspondientes.

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.