GregThompson Posted November 29, 2010 Share Posted November 29, 2010 So an email comes in, it meets a rules requirements to have X done to it. X, in this case is me wanting to take a computer name from the body of the email (which always comes in the same TXT format), and run a script I have against it to do some due diligence. To date, if I leave Outlook running on my machine I can accomplish this in various ways, having the rule run an AutoIT script using the Outlook.udf. Or I can use a VBA I wrote to export the email to an Excel sheet and have another AutoIT watch the XLS for any updates and again, do my stuff. The problem I need to overcome, is if Outlook is NOT running, in other words, all these methods so far are Client-Side... does any way of just dumping the body of an email exist that is NOT considered Client-Side? Link to comment Share on other sites More sharing options...
Richard Robertson Posted November 29, 2010 Share Posted November 29, 2010 You could write your own minimalist email client and have it save to whatever format you'd like. The POP3 specification isn't horrendous. Link to comment Share on other sites More sharing options...
GregThompson Posted November 29, 2010 Author Share Posted November 29, 2010 I could... but then the email client would have to run on a computer somewhere, much like my existing problem keeping Outlook running. The ultimate goal is to have specific emails dump out server-side via a NON-Client-Side rule. My only other way, that I'm already doing is on a timer... every 5 minutes, parse an Outlook folder, dump it's contents to TXT and delete the emails in the folder. Works great, but again, I'm keeping a computer on for this, and if god forbid we have a power flash or something I'm hosed. Link to comment Share on other sites More sharing options...
Richard Robertson Posted November 29, 2010 Share Posted November 29, 2010 I don't understand what you want then. Link to comment Share on other sites More sharing options...
James Posted November 30, 2010 Share Posted November 30, 2010 You're always going to need a script running somewhere to check the email is there. You could potentially write a script using the POP3 UDF (IIRC I did see one) to check all emails from a certain email address and handle it from there. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now