mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-22 11:57:44 +00:00
909 B
909 B
Send short messages (SMS) with the calendar bundle
To activate the sending of messages, you should run this command on a regular basis (using, for instance, a cronjob):
bin/console chill:calendar:send-short-messages
A transporter must be configured for the message to be effectively sent.
Configure OVH Transporter
Currently, this is the only one transporter available.
To configure this, add this config variable in your environment:
SHORT_MESSAGE_DSN=ovh://applicationKey:applicationSecret@endpoint?consumerKey=xxxx&sender=yyyy&service_name=zzzz
To generate the application key, secret, and consumerKey, refers to their `documentation ](https://docs.ovh.com/gb/en/api/first-steps-with-ovh-api/).
Before to be able to send your first sms, you must enable your account, grab some credits, and configure a sender. The service_name is an internal configuration generated by OVH.