Page 1 of 1

Read links from mail

Posted: Wed Apr 27, 2016 2:59 pm
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.

Re: Read links from mail

Posted: Thu Apr 28, 2016 3:39 pm
by gabrielp
Hey man, definitely possible but without scripting or an external program, I don't know how. Here is a similar thread: https://forum.enfocus.com/viewtopic.php ... inks#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.