February 1, 201114 yr Newbies ScriptMaster offers the "Send Email with Attachments" function. The notes for the function says "Here is a more advanced script for sending email with attachments." But the input variables section only shows a single attachment path. Can this SM function be used to send multiple attachments? Or is it limited in the same way that the native FMP "Send Email" function is? Sorry if this Q has been answered before. It wasn't clear to me from the other threads if the poster was talking about the ScriptMaster function or the native function. Thanks.
February 1, 201114 yr The function as it is can only send a single attachment. But it does show you how to perform all the elements required to compose an e-mail, with an attachment. If you were to modify the groovy code, you could make it send an e-mail with multiple attachments. I think the biggest issue would be sending a variable number of parameters to the e-mail function. The easiest way would be something along the lines of a comma-delimited list of file's to attach. In the groovy code, you would need to parse this list, and attach each file.
Create an account or sign in to comment