This file ( 622B ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
# email-to-sms via ClickSend:
# configure Email SMS Settings;
# https://dashboard.clicksend.com/#/sms/settings/email-sms
# * Get message from email subject only
# * Get message from email body only
use Email::Stuffer;
use Try::Tiny;
my $sender = 'ra.jones@dpw.clara.co.uk';
my $domain = 'sms.clicksend.com';
my $mobile = '07854951815';
my $recipient = join '@', $mobile, $domain;
my $message = 'test email-to-sms message';
my $email = Email::Stuffer
->to($recipient)
->from($sender)
->subject($message)
->text_body($message);
try {
$email->send;
}
catch {
warn 'Email not sent: ' . $_;
};