playtini/mautic-sms-gateway-bundle

Mautic插件,用于通过短信网关发送消息

1.0.13 2023-05-23 11:15 UTC

README

Mautic插件https://github.com/playtini/mautic_base。设计用于通过自定义提供商发送短信消息。此插件拦截消息发送事件并将其重定向到https://sms-gateway.p777.org https://github.com/playtini/sms_api_gateway。根据传递的消息类别参数在网关端确定提供商。目前实现的集成

Run

Mautic插件安装

要与sms-gate通信,Mautic必须有一个包含其URL的env

MAUTIC_CONFIG_SMS_API_GATE_URL=https://sms-gateway.p777.org

用法

传递给sms网关的参数示例

'phone_number' => '+380501111111',
'message' => 'test',
'category' => 'Prostor',
'currency' => 'RUB',
'custom_sms' => false