Trying to think of a way to trigger a webpage when an email arrives
Question asked by Ken Williams - 6/4/2015 at 4:01 PM
Unanswered
I have an automated process that handles incoming mail. Currently I have it check for anything in the mailbox every 6 minutes.
 
It would be better if there were someplace in Smartermail where I could say, "trigger this url when an email arrives"
 
Can you think of a way that I can do that?
 
-Ken W
 

4 Replies

Reply to Thread
0
Merle Wait Replied
Would have to look, but I know that there are some commands that you can issue when things come into spool...
We do something similar as well, where we have an automated process that reads the mailbox. This actually worked better for us, because if it was in the "InBox" .. all the spam filtering / and other checks had been completed.
0
Ken Williams Replied
Great! I look forward to your next response. I just want to be able to say, "run this url when an email arrives" .. thanks
0
Nicolas Le Merle Replied
Simple.. Assuming you are the administrator, create a powershell / bat file that opens a URL and then setup an event to run that .ps1 / .bat file when the event is triggered. I have a similar setup where I have created a powershell script to run every time a certain email comes in which fetches an IP address and adds a firewall rule
0
Ken Williams Replied
Aha! I hadn't found that option, because I was signing in as Domain Administrator, not the system Administrator.

Thank you!

Reply to Thread