3 Replies Latest reply on Oct 29, 2014 11:10 AM by TSGal

    Program crash during Send email script

    LesMorsillo

      Summary

      Program crash during Send email script

      Product

      FileMaker Pro

      Version

      FileMaker Pro 12v4

      Operating system version

      Windows 7

      Description of the issue

      I use the Send email script step to open an Outlook email and populate the address line.  It worked flawlessly until recently -- now it causes the program to crash 9 out of 10 times it is executed.  I am not aware that there has been a major upgrade/change to Windows on our network.

      Steps to reproduce the problem

      Execute the Send email script step.

      Expected result

      New email opens in Outlook, the address line is filled, I enter a message, send and return to the program.

      Actual result

      I am able to send the email but upon returning to the FileMaker window, it is ghosted and I receive a crash notification from Windows.  Then I must restart the program, and it will perform a consistency check before opening.

      Workaround

      I have to restart the program -- it frequently performs a consistent check.

        • 1. Re: Program crash during Send email script
          TSGal

          Les Morsillo:

          Thank you for your post.

          To determine if this is a database file issue, create a new file, pull down the File menu and select Send -> Mail.  Send via the Email client, address it to yourself, and put a Subject of "Test".  Click OK.  Does this work?  If so, then create a script that executes the script step "Send Mail".  Does this work?

          If both steps fail above, and since this previously worked "flawlessly", uninstall and reinstall FileMaker Pro.  One or more files may have become damaged.

          Keep me updated with any progress.

          TSGal
          FileMaker, Inc.

          • 2. Re: Program crash during Send email script
            LesMorsillo

            I tried both of your tests, and it works just fine -- so I guess the problem is with the database file.  What's next?

            By the way, thanks for the help.

            • 3. Re: Program crash during Send email script
              TSGal

              Les Morsillo:

              Thanks for the information.  This does help narrow down the possible causes.

              Open your original database file.  Since the Send Mail script occurs with this file, I don't know if the layout that calls the script is a contributing factor, so for now, select a different layout.  From there, pull down the File menu and select Send -> Mail, send via the email client, address it to yourself, and put a Subject of "Test".  Click OK.  If this works, then we know the database file is fine.

              Assuming this works, select the layout where the script is usually called, but do not execute the script.  Follow the same steps above by sending a Test email to yourself.  If this works, then the layout is probably fine.

              In case the old script is having an issue, create a new script that simply sends a Test email to yourself, and execute the script.  If this works, change one item in the script that matches your original script.  That is, if you have a specific Subject, put this in the Send Mail script step, save the script, and execute the script.  If this works, repeat with another item from the original script and try again.  If you get through all items so that it is exactly as your original script, and it works, then remove the original script (since it is bad) and replace with the new script.  However, if you find a specific item that makes the Send Mail fail, let me know.

              Continue to keep me updated with any progress.

              TSGal
              FileMaker, Inc.