Did you get some strange Error code?
• is this with MAC OR PC?
• do you get same crash with
Send Mail [ … With dialog: On ]?
There have been a few issues with Send Mail reported over the years which have been fixed by adding a pause into a script. Have you tried that? This would be particularly relevant if the script is creating the pdf before sending it, as the pause gives the OS time to catch up with indexing the pdf that's just been created.
No error code. Just a crash.
Mac. And the dialog is on.
Okay, worth a try. Will get back with results.
Inserted a pause. No effect. I was able to get it to take about 10 addresses. More than that, it crashes very reliably.
I've attached the relevant portion of the script. As you can see, there's a lot of activity between the saving of the PDF and the actual sending of the mail.
Extremely odd. At first, I thought one of the email addresses might be defective, but I've checked them all and don't see anything wrong.
It seems like Mail is having trouble processing a longer list of emails and attaching a file at the same time. But I don't have the capability in FileMaker of splitting up those two functions.
The end state goal is to send the mail via SMTP from the server; the client-side stuff is just for my testing purposes. But I don't want to enable the SMTP during testing; it'll send out a mail blast to about 30 people who don't need to be getting strange emails.
Any other ideas?
mailCrash.pdf 73.3 K
1 of 1 people found this helpful
I recommend to set any "Voodoo Tricks",
- Pause / Commit / Refresh
after 'setVariable calculation just before
It appears that some FM Calculations and rendering process aren't finished when Apple Mail should take over for send Mail operation.
btw., with send Email [via smtp], you should be aware of the
I will give that a try and see what happens.
I agree, I would try and set a pause after saving the pdf and before adding it to the email. We have seen similar crashes. Apple Mail shows a preview of the pdf and perhaps the pdf is not yet available for previewing?
how are you memory settings for client? - try to increase or decrease ..