Jump to content

Extra email attachments


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

Recommended Posts

After generating an email WITH an auto attachment via Filemaker script I want the user to add extra attachments of their choice.

 

the following script has two problems;

1: Deletes the auto generated attachment

2: Will only add one email (multiple selections not allowed)

 

set the_files to (choose file with prompt "Select file to attach to Email. Sorry, ONE FILE ONLY." without invisibles)
 
tell application "Mail"
tell front outgoing message
 
make new attachment with properties {file name:the_files} at before the first paragraph
 
set visible to true
end tell
activate
end tell
 
Any thoughts? thanks
Link to comment
Share on other sites

I have not used AppleScript much, but I take for granted you would have to loop through the array of selected files.

Link to comment
Share on other sites

This topic is 3538 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.