mKirk Posted July 27, 2005 Posted July 27, 2005 Greetings... I'm curious if there is a way using Send Mail (or other method) to specify the contents of a container as an email attachment? The Send Mail dialog appears to only allow you to define a path to an external file. Thoughts or ideas? Thanks in advance. Kirk
Fenton Posted July 27, 2005 Posted July 27, 2005 FileMaker has one serious limitation with script step external file references,* which is that they are static. You must type them the path manually into the box; you have no other access to it. So, you could use Export Field to get a picture file from a field. Then, if FileMaker knew the static location/name of the file, it could be added as an attachment. The downside is that you could NOT change the name of the file, even with AppleScript, and expect the Send Mail step to know the file; because the Attachment path of FileMaker is a static path. If a generic attachment file name is OK, then this is simple enough. You could use AppleScript to specify the particular mail client (almost all are AppleScriptable), or use an OSAX with email commands, and do the rest of the operation, setting up the email with a dynamically named attachment, outside of FileMaker. In other words, just use FileMaker to Export Field, and run the rest of it with a Perform AppleScript step. But this would not be a completely generic solution; and not as simple as Send Mail. *I'm talking about external file references such as in Import, Export, Print steps, which are saved per step, and do not show in the Define File References dialog or anywhere else; not FileMaker File References which are used for table occurrences. I would not expect the latter to ever be dynamic.
Recommended Posts
This topic is 7051 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 accountSign in
Already have an account? Sign in here.
Sign In Now