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.

Sendmail has no getlasterror?

Featured Replies

Hey everyone! This is my second post here.

I have a script that sends an email and keeps count in a related record of number of emails sent per week. It does not work however, because regardless of whether the sendmail step is cancelled or not (as in the user closes the outlook browser without hitting send)the script continues and updates the value.

It seems that get last error = 1 (cancelled action) does not work. Is this simply because the sendmail action is DONE by OUTLOOK and not FM?

Or is there a way to know if the user didn't actually send.

As it is right, now I just have a custom dialog that confirms the user sent the email. Not the greatest scenario. Any help is appreciated.

ALOHA

David

Welcome to the forums! :

FileMaker most of the time only has control of things within FileMaker. In this case, after the email has been sent to the outbox in Outlook, it's out of FileMaker's hands and after that point you can't track it..

If you're talking about the user canceling during the ... export to outlook process please clarify.

Depending on how desperate you are to monitor this though, there are some plug-ins that let you send email directly out of FileMaker rather than interacting with an Email program but they more than likely aren't necessary in your case if that's the only thing you don't like about the FileMaker send process.

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.