Am I to understand that we can only attach one file to a message and that Filemaker will send the first one it finds?
I want to read this as, Filemaker will attach files in the order of the File Path List.
What is it really spposed to do? How can I make it attach a series of files?
Your interpretation is correct. The Send Mail script step only supports attaching one file. A possible workaround is to compress multiple files into one "ZIP" file and then attaching the compressed file to your e-mail.
This issue is documented in the knowledge base here...
What platform are you on, and what method of sending are you using? There may be other options available, such as using Applescript to attach multiple documents, etc.
The multiple file paths work the same way that external file references do. The first match that is found in the list gets used, but only one. It can be a little confusing in this context for adding attachments to emails.
There are workarounds and plugins available to do what you want, though.
In addition to the options stated above, if you're dealing with PDF files, you can consider creating one PDF, then appending additional PDFs to the original. You'll just be sending a single file, but it will contain multiple documents joined together.
Thanks for clarifying. Despite the "one or more files" file list wording, the behavior is as Mike noted: The first match found on the list gets used.
I have already moved to a third-party plug-in which works great.
Yes, I could have bundled up the PDFs into one, but that's not what my customer wants to do.
Thanks for being a great resource.
I have had a similar problem.
I append multiple layouts to one PDF using script variables, save to PDF and then send completed pdf as a single email attachment.
This works a charm on the PC (FM13/Win 7) but on iPad (FMG13/iOS7) I only get the last appended layout and as discussion above demonstrates attaching multiple files doesn’t work. (not my preference anyway!)
This is a standalone iPad app not hosted. (Not good coverage at 42,000 feet!!)
Does the iOS need some different treatment? All my scrip steps are in the iOS compatible list.
As an aside during testing when i did have a hosted version running on iPad some very strange results, no emails sent and no error messages!!