Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to create an Automator application that reads the address book and sends an email from the default email account with the content of the addr. book search result.

Everything works except before sending the email the use is asked to press the send button. Is it possible to achieve this with no user interaction ?

share|improve this question

you can directly do an applescript to send an email and call it from automator:

   tell application "Mail"
      set newMessage to make new outgoing message with properties {account:"Account Detail", subject:"Mail Subject", content:"Content"}
      tell newMessage  
        make new to recipient at end of to recipients with properties {address:theRecipient}
        set visible to true
      end tell
      send newMessage
    end tell

You would just need to get theRecipient from the input passed to the AppleScript action. Also, you need to replace the properties on the third line with details of your Mail account.

set theRecipient to (item 1 of input)

should do it.

share|improve this answer

You can make a Do AppleScript block, and use AppleScript to tell Mail to click the Send menu item.

Directions here.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.