MMS Gateway - 46elks

The 46elks MMS Gateway currently delivers MMS to Swedish 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 or png) 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 46elks.

You can get further information on supported media files and limitations here:

https://46elks.com/docs/send-mms

Incoming Messages/Replies

You can get incoming messages/replies to your 46elks number into the fmMMS file in a number of ways:

  • Manually Download Incoming Messages
  • Use Webhooks to have 46elks push these automatically to fmMMS
  • Use Otto Webhooks

Using Webhooks is the preferred method as it saves you from having to poll/check for any new messages - with Webhooks new messages are forwarded to fmMMS automatically by 46elks 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 46elks 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.

46elks Webhooks Setup

To receive incoming MMS messages to your 46elks number, including replies to previously sent messages, you will need to use the supplied WebhooksIncomingMessages.php webhook file to act as the webhook receiver. See our Webhooks guide for what you need to do host the WebhooksIncomingMessages.php file on your chosen web server. Once you have the publicly accessible URL for this file you can enter this into your 46elks account settings as follows:

  1. login to your 46elks account via their website
  2. go to your Dashboard and click on Numbers
  3. click Edit next to the Number you wish to assign a webhook to
  4. enter the URL in the mms_url field
  5. click Save changes

It should look similar to this screenshot:

46elks Otto Webhooks Setup

Please visit the Webhooks using Otto guide for instructions on setting up Otto Webhooks for your 46elks number. You will need to create a new webhook and enter the Otto webhook URL using the instructions above and modify the OttoReceiver script to handle incoming MMS messages from 46elks.

Still need help? Contact Us Contact Us