Your software
My Mautic version is: 4.4.5
My PHP version is: 7.4.33
My Database type and version is: MySQL 8.0.28
Your problem
My problem is: I’ve created a Twilio trial account and configured it and sent a test message from it and that worked.
I’ve then configured the Mautic plugin as per the documentation (which appears to be slightly out of date) with the Account SID, Auth Token and Sending Phone Number. I’ve “Published” the plugin (I assume this is how it is enabled).
I’ve then created a segment and added a contact with a “mobile” number to the segment. Under “Channels” I’ve got to the “Text Messages” section and created a “New List Text Message”, added the content and segment and published it. It is showing in the Mautic interface as “1 Pending”:
I’ve gone to the console and run the command:
/var/www/html/bin/console mautic:broadcasts:send
and I get the response:
+---------+--------+----------+
| Channel | # sent | # failed |
+---------+--------+----------+
So it doesn’t even seem to be trying to send the message.
I noticed in the Twilio interface when sending a test text message there is another parameter passed in the curl example called MessagingServiceSid
but I don’t see anywhere in the Mautic interface to add this.
So what am I missing? Thanks.
These errors are showing in the log: None
Steps I have tried to fix the problem: I’ve tried disabling and re-enabling the Twilio plugin and re-adding the Twilio credentials.
UPDATE - 2023-01-16: Today I’ve tried sending an SMS via a “campaign” instead of as a “broadcast” and that has worked successfully, so the link between Mautic and Twilio is obviously working, but I’m still unable to see why it isn’t sending the “List Text Message” to the segment.