I have found many resources on inspecting the headers in an email to detect whether or not the message was sent using an auto-responder. I'm looking to detect that an auto-responder is configured before any contact is made.
Why I think this is possible: In outlook, if you add a recipient from the address book it will show their auto-responder message above the "To:" line before even clicking send.
Goal: I would like to pass a list of employees to a function and return a binary list of whether or not they are in the office based on auto-responder on/off status.
Some bad psuedo-code (please excuse the mixing of classes and lists, it's just for a simple example).
list = ['Ted Jones', 'Michael Brickman', 'This name', 'That name']
for employee in list:
if employee.autoresponse != '':
employee.inoffice = 0
output = [0,1,1,1] #-- So, Ted Jones is out of the office
I'm certainly not stuck on this style of output, just trying to be specific. I need some sort of ordered list or something to tie Name -> In/Out of office
I would like to stay in Python if possible, but am interested to hear other solutions.
Is there anyway to do this? Maybe using win32com or pyad? If a resource for this information exists please let me know... I was unable to find it among the 'check the headers' muck.