Posted By

4fthawaiian on 08/12/09


Tagged

email applescript


Versions (?)

create and send an email with applescript


 / Published in: AppleScript
 

URL: http://forums.macosxhints.com/showthread.php?t=80309

  1. tell application "Mail"
  2. set theNewMessage to make new outgoing message with properties {subject:"Subject text", content:"Content text", visible:true}
  3. tell theNewMessage
  4. make new to recipient at end of to recipients with properties {address:"email address"}
  5. send
  6. end tell
  7. end tell

Report this snippet  

You need to login to post a comment.