Applescript to send mail

Posted:
Mon Jun 06, 2016 5:56 pm
by dgold
I don't know Applescript but was looking for a way to send an email when a file is added to a folder. I want the email to be sent to a specific address with the subject preset (possibly including the current date but not critical). I don't want any attachment. I would also like to prepopulate the body of the message.
Could someone give me an example of how to do this? I'd really appreciate it.
Re: Applescript to send mail

Posted:
Tue Jun 07, 2016 12:37 am
by portaferry
I used automator to send email doing something that is similar in concept to your task - refer
viewtopic.php?f=4&t=6816
Re: Applescript to send mail

Posted:
Tue Jun 07, 2016 2:46 am
by dgold
Thanks for that! Will do it with Automator.
Re: Applescript to send mail

Posted:
Sun Jul 15, 2018 2:13 pm
by Petrol
portaferry wrote:I used automator to send email doing something that is similar in concept to your task - refer
viewtopic.php?f=4&t=6816
Was trying to get the example you point to but looks like it was deleted. Could you post again? I'm trying to get hazel to send a mail when a file is added to plex folder