A C# service created to check an office 365 inbox for messages and auto-open tickets in the STI ticket applicaiton
Notes:
To install the service
- run developer command prompt for VS2012 as administrator
- change to bin folder
- run "installutil TicketFromEmail365.exe"
To uninstall the service
- run developer command prompt for VS2012 as administrator
- change to bin folder
- run "installutil /u TicketFromEmail365.exe"
Initial Goals:
Read mail server address, username, password, logging level from file. Exclude this file from git! Have example file in git.
Login using EWS managed API stream method
On new email do the following
- Does the email subject already have a ticket number in it?
- Yes, update relevant ticket notes, forward to distribution group, reply to all email addresses included in the ticket, delete email
- No, Is the message from a clients domain?
- No, Forward the email, delete the message
- Yes, open ticket, added From and CC email addresses to ticket, forward email to distribution group with modified subject to include ticket, reply to From address, delete email
- Log activity based on logging level
Possibly eventually add option to reply to emails directly through ticket system?