Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
set recipientName to "Zuse"set recipientAddress to ""set theSubject to "Subject" -- leave empty set theContent to ""tell application "Mail" ##Create the message set theMessage to make new outgoing message with properties {subject:theSubject, content:theContent, visible:true} ##Set a recipient tell theMessage make new to recipient with properties {name:recipientName, address:recipientAddress} ##Send the Message send end tellend tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment