Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Sendmail has no getlasterror?


This topic is 6514 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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.

This topic is 6514 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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