Page 1 of 1
iMac Automator for processing email
Posted: November 13th, 2010, 5:33 am
by PaulPalmer
I use my iMac for business purposes and need to process many search engine confirmation emails. I would like to use the automator to find the click here button. Navigate to the URL then close the page and move on the the next email.
Is this possible?
Paul
Re: iMac Automator for processing email
Posted: November 13th, 2010, 10:29 am
by Turboladdade
I'm not so sure about that. Wouldn't every search engine's confirmation link be slightly (or greatly) different? It doesn't really sound programmatically worthwhile.
Re: iMac Automator for processing email
Posted: November 14th, 2010, 6:21 pm
by PaulPalmer
Yes there are differences but doing 3000 a month manually is too much so I tend to focus on my top sites. About half of them seem to use the same confirmation format. I havent used the automator yet and the help is ok but not detailed enough for me in terms of the script to use. Is there a good resource to learn from?
Re: iMac Automator for processing email
Posted: November 14th, 2010, 8:08 pm
by Turboladdade
Apple's developer portal for Automator is quite rich.
http://developer.apple.com/library/mac/ ... mator.html
I really don't think Automator is what you need for this purpose. You're better off writing your own script that reads all the contents of a folder containing emails you dragged there from Mail, searches for any hyperlinks and fetches them with CURL, thus avoiding using a web browser.
A simple command-line perl or php script would work fine.
More Automator resources:
http://automatorworld.com/
http://automator.us/leopard/index.html
Re: iMac Automator for processing email
Posted: November 15th, 2010, 6:27 pm
by PaulPalmer
Thanks for the links and the advice
