Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 665 Bytes

Sms.md

File metadata and controls

18 lines (13 loc) · 665 Bytes

Mailjet for Craft CMS icon

Mailjet SMS

This plugin also supports the SMS features from Mailjet. Once you have completed the setup for SMS and added some credits to your SMS account, you can get an API Token from your Mailjet account page and configure it via the plugin settings section.

Once completed, you can easily call the SMS service to send an text message.

// don't forget to use the plugin
use bertoost\mailjet\Plugin;

// send away
$sent = Plugin::getInstance()->getSms()
    ->send('+310600000000', 'Your message');