However, SMS notifications are not being sent.
When the Event is trigged and appropriate actions are launched, OBAS sends out an outgoing e-mail to Clickatell SMS gate email@example.com.
That can be verified by going
Top > Configuration Director > Event Manager > Event Log > The Event > Repeat Actions, SMS and pressing Repeat Selected actions. As a result, as outgoing message to firstname.lastname@example.org will appear under
Top > Configuration Director > Logging and Errors > E-Mails Logs > Outgoing E-mails
/var/log/maillog will also confirm that the message was sent out successfully.
The issue reason is that OBAS converts all "From" and "To" fields of e-mail messages it sends out to valid MIME RFC 2047 encoded words, while Clickatell SMTP API does not understand those MIME-encoded fields and drops messages from OBAS.
To resolve the issue, please consult with Clickatell support about MIME-encoded "From" and "To" fields.
As a workaround, please consider using "Custom script" action instead of "Send SMS", with the script body looking like the one below but with real values:
echo -e "api_id:123456\nuser:user123\npassword:password123\nto:12345678\ntext:This is a message from OBAS! Order num:@@order.doc_num@" | mail -s "SMS" email@example.com
Note In the Provider's Guide there stated that the recipient mobile phone number must contain 11 digits exactly. That information is outdated and will be corrected, Clickatell has no limitation on length of a telephone number.