MMS Gateway - CDyne
The CDyne MMS Gateway currently delivers MMS messages to USA and Canadian phone numbers. You can use the following methods for attaching media files to your outgoing messages:
- Public URL: simply enter the publicly accessible URL for each media file that you wish to send. You would typically upload the file (jpeg, png etc) to a server and determine the URL to that file and enter this into the URL field when sending an MMS message.
- Gateway Direct: fmMMS will upload the file stored in the FileMaker container field directly to CDyne who will store the media for 48 hours. This effectively means that the URL that is returned for uploaded media should not be re-used in future outgoing messages (unless within the 48 hours before automatic deletion).
You can get further information on supported media files and limitations here:
You can get incoming messages/replies to your CDyne number into the fmMMS file in 2 ways:
- Manually Download Incoming Messages
- Use Webhooks to have CDyne push these automatically to fmMMS
Using Webhooks is the preferred method as it saves you from having to poll/check for any new messages - with Webhooks new messages are forward to fmMMS automatically by CDyne as they are received.
Manual Download Incoming Messages
You can download incoming messages manually via the Account Details screen. Simply enter the date range you wish to download messages between and click the Get Incoming Messages button:
Any incoming messages to your CDyne number that have not been previously downloaded will then be downloaded, including any media attachments. You could also setup a FileMaker Server script schedule to have this run on a scheduled basis (e.g.every hour) to save you from having to manually download/check for new messages.
CDyne Webhooks Setup
To receive incoming MMS messages to your CDyne number, including replies to previously sent messages, you will need to use the supplied WebhooksPostBacks.php webhook file to act as the webhook receiver. See our Webhooks guide for what you need to do host the WebhooksPostBacks.php file on your chosen web server. Once you have the publicly accessible URL for this file you can enter this into the Custom Text 2 field in the fmMMS Accounts Screen. This will be sent with every outgoing MMS that you send as the PostbackUrl parameter.