Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5055 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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.

Posted

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.

This topic is 5055 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.