I need Apple Script too!
My invoice app GrandTotal by MediaAtelier sends mails via Apple Mail or AirMail or PostBox and others but not via eM Client. I could probably write the script myself if there was support to compose a mail via Apple Script.
com.emclient.mail.client.applescript
-- This file has to be named after the Bundle identifier of the target application
-- eg. com.apple.mail.applescript
on composeMail(email_recipient, email_subject, email_content, the_file)
tell application "eM Client"
activate
-- compose the mail here with the parameters above
end tell
end composeMail
Links with mailto: work so should some simple script commands:
mailto:[email protected]?subject=Apple-Scrip%rules&body=Hello%20users%0D%0AApple%20Script%20is%20here%20at%0D%0A...%0D%0A%0D%0AeM%20Client%0D
Unfortunately I need to attach a PDF for the invoice too.
Thanks