hartmut Posted December 19, 2007 Posted December 19, 2007 Hello I have two attachments I would like to send with my email. I check the attach file box at the bottom of the send mail script step. And then I select 2 attachments. Only the first one sends. I would like to send 2 and there is provision for doing so. Is there something I need to do to send 2 attachments? Thanks Dave
josh guff Posted December 19, 2007 Posted December 19, 2007 unfortunately FM won't let you attach more than one file to an e-mail. When you list more than one file path it searches the first one, and if it doesn't exist it uses the second file path. There is a work around using applescript to send the mail instead. writing one is on my to-do list.
josh guff Posted January 4, 2008 Posted January 4, 2008 put this in your script "preform applescript" and specify: tell application "Mail" set theAttachments to {"Users/jay/Desktop/Skills.png", "Users/jay/Desktop/bhabro.pdf"} set displayForManualSend to true set addr to "[email protected]" set subj to "Howdy there" set body to " Body" set msg to make new outgoing message with properties {subject:subj, content:body} tell msg make new to recipient at end of to recipients with properties {address:addr} end tell tell content of msg repeat with theAttachment in theAttachments make new attachment with properties {file name:theAttachment} at after last paragraph end repeat end tell end tell fill in those variables, if you want to make the script dynamic (as you probally do) you'll have to enter it as a calculated script, just remember to escape all the quote ([color:red]") symbols ie.([color:red]")
_henry_ Posted January 4, 2008 Posted January 4, 2008 Hello Hartmut, If you want to send multiple attachment, you can do it with VB Script also. Here is the link regarding the information for multiple attachment: http://fmforums.com/forum/showtopic.php?tid/188017/ Hope it helps...
Recommended Posts
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