src/Symfony/Component/Notifier/Bridge/Esendex/README.md
Provides Esendex integration for Symfony Notifier.
ESENDEX_DSN=esendex://EMAIL:PASSWORD@default?accountreference=ACCOUNT_REFERENCE&from=FROM
where:
EMAIL is your Esendex account emailPASSWORD is the Esendex API passwordACCOUNT_REFERENCE is the Esendex account reference that the messages should be sent fromFROM is the alphanumeric originator for the message to appear to originate fromSee Esendex documentation at https://developers.esendex.com/api-reference#smsapis
With an Esendex Message, you can use the EsendexOptions class to add message options.
use Symfony\Component\Notifier\Message\SmsMessage;
use Symfony\Component\Notifier\Bridge\Esendex\EsendexOptions;
$sms = new SmsMessage('+1411111111', 'My message');
$options = (new EsendexOptions())
->accountReference('account_reference')
// ...
;
// Add the custom options to the sms message and send the message
$sms->options($options);
$texter->send($sms);