Skip 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.

Can FM Send Mail via client function detect if the user pressed send?

Featured Replies

I have a script that when run opens the mail client with a order confirmation email to the customer and confirms the order in FileMaker.

But is there a way to check if the user actually pressed send on the email before confirming the order in FileMaker?

12 hours ago, JohnDing said:

But is there a way to check if the user actually pressed send

I don't think so. And even if there were, you wouldn't be able to tell if they didn't modify it before sending it. If you need to be sure, why don't you send it directly, instead of going through the mail client? Or perhaps you could send a copy to yourself, then check the incoming mail.

 

  • Author

It was not that i was afraid that they would modify the email or that is would get stuck in internet traffic.

I wanted to use it as a condition like:

if (userPressedSend){
  #continue script ...
  } else {
  #pause or stop script ...
}

but now when i type it out i can see some flaws with this idea.

But thanks for the input @comment

for macOS?

How good is your AppleScripting? 

You could trigger send, FileMaker passes email to Apple Mail. Then you can use AppleScript to query current window ID for the message composer. And regularly query again whether this window is still open.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.