iMac Automator for processing email

Locked
PaulPalmer
16 MB
Posts:20
Joined:July 21st, 2010, 2:19 am
iMac Automator for processing email

Post by PaulPalmer » November 13th, 2010, 5:33 am

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
User avatar
Turboladdade
1024 MB
Posts:1426
Joined:October 31st, 2007, 10:44 pm

Re: iMac Automator for processing email

Post by Turboladdade » November 13th, 2010, 10:29 am

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.
I am now telling the computer exactly what it can do.
PaulPalmer
16 MB
Posts:20
Joined:July 21st, 2010, 2:19 am

Re: iMac Automator for processing email

Post by PaulPalmer » November 14th, 2010, 6:21 pm

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?
User avatar
Turboladdade
1024 MB
Posts:1426
Joined:October 31st, 2007, 10:44 pm

Re: iMac Automator for processing email

Post by Turboladdade » November 14th, 2010, 8:08 pm

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
I am now telling the computer exactly what it can do.
PaulPalmer
16 MB
Posts:20
Joined:July 21st, 2010, 2:19 am

Re: iMac Automator for processing email

Post by PaulPalmer » November 15th, 2010, 6:27 pm

Thanks for the links and the advice :)
Locked