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.

Unable to retain SendEmail function

Featured Replies

I am trying out the various functions provided by ScriptMaster 3 using the method of copying the scripts into variables of the start-up script of the test file. This works fine with ListAllFilesInDirectory and GetFileModificationDate, also after restarting the test file on its own (i.e. without ScriptMaster). However this does not apply to the SendEmail function. As soon as I restart FileMaker, the latter function disappears. When debugging the start-up script, the variable for this function shows to return "error" instead of "1" as for the other functions. The SendEmail capability returns as soon as I open the ScriptMaster file again.

Can someone help me and tell me what I am doing wrong? Many thanks.

After you receive the "error" response, call SMLastError to get a detailed description of the problem. I suspect you need to include the javamail.jar

The ScriptMaster FileMaker file does this for you, but if you copy the script into your own startup solution, you're also responsible for loading the .jar using SMLoadJar.

  • Author

Indeed I did not load any of the jar files in my test setup. Many thanks for the quick advice.

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.