One standard "crash" test is to create a small, brand new file and use it to reproduce the events (Sending mail via outlook in your case) that are causing the crash in the original file. If the test file does not crash, then this suggests that there is an issue with your file, it may be damaged. If the sample file also crashes, the issue lies elsewhere.
PhilModJunk, Thanks for your quick response. The script is pulling data from a record. No files are being attached or created. We have used this script successfully for a few years with Outlook 2010 with no issues. The crashes are not every time but very frequent.
More information. Multiple entries in Windows Event Viewer.
FileMaker Pro.exe 184.108.40.2062 4d3f6749 FMOLE.dll 220.127.116.112 4d3f5de5 c0000409 0000c76d 10a4 01ce87c4252077d2 C:\Program Files (x86)\FileMaker\FileMaker Pro 11\FileMaker Pro.exe C:\Program Files (x86)\FileMaker\FileMaker Pro 11\FMOLE.dll 45712367-f3c3-11e2-9bce-94de807fbc20
I stand by my suggestion. Set up a small test file and use it to send email via your current version of OutLook to confirm that there are no issues with your database file. It may be unlikely that your current file is damaged in any way, but let's make sure.
Note: I have seen cases in the past where a file appears to be perfectly fine, then the file is moved to a different platform, or the OS is updated or FileMaker is updated and then problems ensue.
I have the same crashing issue with Filemaker 12 and Outlook 2013.
I have tested the same script from different pc's running outlook 2010 and 2013 and it always crashes with 2013.
Do you have spell check pop up when the script runs. I found if you do not spell check the email then they seem to not crash the db. The emails send even when the db crashes. Do you have the same event Viewer errors show up?
Spell check is off. If I step through the script with the debugger it doesn't crash.
This is what I see in the event viewer:
Faulting application name: FileMaker Pro Advanced.exe, version: 18.104.22.1683, time stamp: 0x514b6292
Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec49b8f
Exception code: 0xc0150010
Fault offset: 0x000847db
Faulting process id: 0x580
Faulting application start time: 0x01ce88a5172d1c0e
Faulting application path: C:\Program Files (x86)\FileMaker\FileMaker Pro 12 Advanced\FileMaker Pro Advanced.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Report Id: 954b79fc-f498-11e2-8fd9-001c42b69706
IF you can get repeatble consistent crashes from a brand new test file, this should be reported as a possible bug over in Report an Issue. You can save typing by posting a link to this thread in your Issue Report.
One idea - make sure your current version of Outlook is set up as the default e-mail program on your computer.