Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Multiple attachments in 1 email


FredP

Recommended Posts

I would like to add 2 attachments to an email, but if i list 2 paths, only the first one gets attached. Any thoughts?

 

Fred

Link to comment
Share on other sites

There are no simple ways to attach two files to an email. In some cases, you can formulate your 2 layouts into 1 report or whatever with 2 pages or just send 2 emails with appropriate explanations.

 

Others members here will have more and probably better suggestions. I just look for easy alternatives.

Link to comment
Share on other sites

You can tell the operating system and/or a program or application that can be easily bossed around from the command line or via AppleScript to make a .zip file out of your multiple files, then attach the single resultant .zip file as your file attachment.

 

The PC world has a venerable command line app PKZip which if memory serves me correctly the more well-known WinZip is just a front end of (?); the Mac environment similarly has Unix instrux that are what does the actual heavy lifting when you right-click a set of files in the GUI and say "make an archive out of this". In both cases you can let FileMaker tell the OS "yo do this" just as if you were typing at the command line.

 

PC: Send Event, to "cmd", text of which is what you'd put on the command line, in quotes, don't forget to escape any quotes or any backslashes in the instruction itself.

 

Mac: Perform AppleScript "do shell script \"Your cmdline instrux goes here\"", notice the escapes within the AppleScript for the literal of the command being sent to the Unix command line, and again you'll have to escape any additional quotes and any backslashes.

 

Best way to obtain the instrux to use is to google (I don't know them off the top of my head, that's what I'd do) and then first get the commands working from the actual command line then test with Show Custom Dialog instead of Send Event or Perform AppleScript until you've got calcstrings that output exactly what you'd type at the command line.

Link to comment
Share on other sites



×
×
  • Create New...

Important Information

Terms of Use