Read links from mail

Post Reply
LasseThid
Advanced member
Posts: 353
Joined: Tue Mar 03, 2015 2:30 pm
Location: Molndal, Sweden

Read links from mail

Post by LasseThid »

Is this possible to do?
Switch receives an email containing URL's for (links to) files from a server.
Switch reads the URL's (links) and downloads the files.
The files are then sent to a different server.

Thanks for your input.
Enfocus Switch, Enfocus PitStop Server, Enfocus PDF Review, HP SmartStream& Kodak Prinergy with RBA
Offset 72x102, Offset Large Format, Digital Large Format and Digital print.
User avatar
gabrielp
Advanced member
Posts: 645
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Re: Read links from mail

Post by gabrielp »

Hey man, definitely possible but without scripting or an external program, I don't know how. Here is a similar thread: viewtopic.php?f=12&t=1265&p=4317&hilit=find+links#p4317

You could scan through the email body and pull out links. This kinda sucks because everything is a link. If you have incoming emails with links in the signature, those would be picked up too. Once you have the URLs, you could use the HTTP class (or HTTP configurator) download them.

Long and short is that it's not easy and probably not the most reliable way to build an automation system.
Free Switch scripts: open-automation @ GitHub
Free Switch apps: open-automation @ Enfocus appstore

Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
Post Reply