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

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


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

Recommended Posts

  • Newbies
Posted (edited)

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
Posted

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.

  • Newbies
Posted

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?

This topic is 5373 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.