View unanswered posts | View active topics It is currently Thu May 23, 2013 12:31 pm



Reply to topic  [ 2 posts ] 
 Email Attachment Automator Service 
Author Message

Joined: Aug 13, 2006
Posts: 390
Location: Northern Idaho
Post Email Attachment Automator Service
Can anyone tell me how to fix the below script? I created a service in Automator with the following script and when it runs I get "The action “Run AppleScript” encountered an error." I know the error is in the portion
Code: Select all
 & quoted form of {file name:item 1 of added_items} &
but I don't know exactly how to phrase it so that the email will attach the appropriate file.



Code: Select all
on adding folder items to this_folder after receiving added_items
   
   
   do shell script "/Users/xxxxxxxxxxx/mutt-1.5.20/mutt -s \"EMAIL ATTACHMENT\" xxxxxxxxxx@gmail.com -a & quoted form of {file name:item 1 of added_items} &"
   
   
   
end adding folder items to

return input


Thanks i advance for any suggestions.

_________________
Image


Wed Jun 01, 2011 6:40 am
Profile

Joined: Aug 13, 2006
Posts: 390
Location: Northern Idaho
Post Re: Email Attachment Automator Service
It took a long time to figure this out. here is a screen shot for anyone who would like to add this to your own Services library.

I have found mutt to be more reliable and simpler when it comes to sending email attachments than using the Mail app itself, so I did away with the stock Email Attachment Service and replace it with this.

Image

_________________
Image


Sat Jun 04, 2011 11:56 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.