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.

Featured Replies

I have an application that sends SMS messages to employees selected from a list. Currently I store both their mobile number and cell carrier and send an email to the respective carriers gateway. That is really becoming a nightmare as employees are hopping from company to company shopping best deals or even going prepaid.

So, I want to use the IM_SendMessage function. I have an AIM account. I set up a simple 2 line script to send a message and then show the result. I get a result of 1 but no SMS goes to the specified mobile phone.

I downloaded the AIM app on the mobile phone. It shows a message came in from an identified place but the message doesn't appear. Not that I want my employees to have to download the app and have an AIM account, but I thought this might be an interesting test.

Any suggestions on what I may need to do?

I just tested this out myself and sending a text to my phone through AIM did work, using version 2.14 of our email plugin. For typical US 10 digit phone numbers, you need to add '+1' to the beginning of the number. For example, to send a text to (555) 867-5309, you would use "+15558675309" as the recipient value. In my testing, I did find that the IM_SendMessage function doesn't do any checking on the validity of the recipient and returns 1 as long as the login credentials are correct. What value are you using as the recipient?

  • Author

I didn't have the +1. I will try that now. Thanks!

Edited by Rwintner

  • Author

:-(  I just tried it with the +1 added. Still nothing. Am I supposed to get an SMS like a regular text message or do I have to have the AIM app installed on my phone?

 

Those messages will come in as regular SMS. Can you tell me exactly what you are passing in? It looks like you are storing phone numbers in your DB and if you are storing them in typical format "(XXX)XXX-XXXX" then that will not work as the ( ) and the - will not work as part of the recipient parameter for IM_SendMessage . The recipient parameter must be in format "+1XXXXXXXXXX" .

  • Author

The tel number is correct. Here is exactly what I am using. It is a script of just this line and nothing else.

Set Variable [$result; Value: IM_SendMessage( "AIM" ; "rwintner" ; "********" ; "+13108509403" ; "test message" ) ] 

 

obviously, the "***...*" is my password. I manage to log into AIM OK because if I make a change to my password or my name, it tells me so.

Create an account or sign in to comment

Important Information

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

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.