Send E-Mail with custom tokens

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Send E-Mail with custom tokens Fri Jun 12, 2015 3:58 am • by vloryan
Hi guys,

I would like to send an e-mail with custom tokens from a pdf-file out of hazel. Any chance to do this? I googled here and there, found a few things, but I got stuck. Would be great if someone out there could help me solving this!

I would like to use some tokens in the subject, some in the body.

Thanks for your help!
Flo
vloryan
 
Posts: 25
Joined: Thu May 29, 2014 5:00 pm

Re: Send E-Mail with custom tokens Fri Jun 12, 2015 5:33 am • by vloryan
This here (http://www.maclife.com/article/columns/terminal_101_sending_email_through_command_line) shows me how to send emails via script. The only thing I need is passing the tokens in there, somewhere, somehow...
vloryan
 
Posts: 25
Joined: Thu May 29, 2014 5:00 pm

Re: Send E-Mail with custom tokens Fri Jun 12, 2015 8:25 pm • by Mr_Noodle
You can't really do it with a shellscript but you can via AppleScript. Search the help for it as it will indicate how to send attributes into the AppleScript.
Mr_Noodle
Site Admin
 
Posts: 11868
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support