Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Auto sending/recieving SMS via API in Filemaker Server

Featured Replies

Hi all

I have made a database that sends and receives SMS' to/from my clients and an SMS provider. The reason the database sits in the middle is so that users can simply email from their to [mobile]@[customdomain.com] and it will reach the mobile, then replies from the phone will be received in to the inbox. These replies will contain all of the message history.

Currently I am running a script on Filemaker Server with the help of the mail it plugin. This sends/receives SMS' by using the email2SMS feature provided by the SMS provider.

I would now like to utilise the API that the SMS provider provides, so that I can track the messages and inform the client when they have failed.

I believe I require the 'open url' script step to do this, however, Filemaker server cannot use this step.

Does anyone have any pointers as to how I can have my solution automatically send commands to the API?

Thanks

I would contact Dacon directly. http://www.dacons.net/fmplugins/support/

  • Author

Sorry, perhaps I put too much information in this post, but it is not an email issue, the question is how to get the script to talk to an SMS API via FIlemaker Server's scripting function.

SMS Provider usually provides 2 types of API for interface, namely HTTP API and SMTP API. Since FM Server Script does not support Open URL, you are not able the HTTP API. Instead , you can use the SMTP API to send your sms. This is simple to do as it is like sending a normal email except that your email body must conform to the format set by your provider. You should check with your provider for the email format

Hope this help

  • Author

The SMTP API does not really provide good enough message status information so I would prefer to use HTTP. Is this not possible using solely Filemaker/Filemaker server?

Thanks

You are right about SMTP API not providing enough status information. Unfortunately , Server Script does not support OPEN URL to execute the HTTP API. May be you can consider using a robot machine to run the script

  • 2 weeks later...
  • Author

I suppose that would be OK. So therefore would it simply be a case of using the open URL script step? Would it be able to retrieve values from the API? e.g. message status.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.