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.

Help? User Canceled action for Send Mail script step not detected

Featured Replies

  • Newbies

I am using FileMaker Pro 10 Advanced to program a Send Mail script for a client that is using FileMaker Pro 9.

After the email is sent, a note is created for each contact that the email was sent to. If the email is not sent, the note is not created. Therefore if the user cancels the email by closing the send mail dialog, the script is supposed to exit without creating the note.

Both FileMaker Pro 10 and FM Pro 10 Advanced detect the user canceled action as Error 1. FM Pro 9 does not detect any error. In all cases Microsoft Outlook 2007 is the default email client.

Is there a way to get FM Pro 9 to detect when a user has canceled the send mail script step by closing the send mail dialog?

I have tried trapping FM Error 1, but no error is generated when the user closes the Send Mail dialog in FM Pro 9.

Edited by Guest

I would turn off "Allow User Abort" which enables the user to cancel the script, and add a dialog box into the script at the point where the user might cancel it. If the user then clicks on "Cancel" in the box, you can capture it and exit the script. If the user clicks OK, then he must be satisfied with the email and it would then be sent.

  • Author
  • Newbies

Thanks I've already implemented your solution. The user has the chance to exit after cancelling or sending the email.

I realized that FM Pro 9 will not detect any send mail errors. : Is there a way to get the email error codes to work in FM Pro 9?

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.