Send new file as attachment (to recipient in attachment)

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

Moderator: Mr_Noodle

Hi all!

I feel like this should be possible, but it's beyond me!

I'd like to monitor a folder for new PDF files, and when one with the right file name arrives, for a new email to be sent with the file as an attachment, and for the recipient to be extracted from the contents of the PDF.

I feel like I can nail the extraction of the recipient from the PDF alright, but have no idea (even after reading examples) how to automate creating an email and adding the attachment.

Is this possible in Hazel>
Schlurb
 
Posts: 1
Joined: Fri Jan 17, 2020 12:26 am

Search the forums here as I believe there is an AppleScript floating around which will do this, via Apple Mail.
Mr_Noodle
Site Admin
 
Posts: 11193
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support