We have a ticket system that sends us tickets with the title "New Ticket Created: T20120803.0078" where the number is generated.
We reply to all saying we are working on the ticket. The reply title looks like this "RE: New Ticket Created: T20120803.0078".
My Outlook is set up to forward all tickets into one folder called "Tickets".
I am trying to figure out how when the email is replied to, it sends both the reply and the original to another folder called "InProgress".
don't have a lot of time to figure this one out.Typically, at this sight we don’t build code for people, but help them build the tweak or perfect code where they are struggling.
That said, I was intrigued by your question and wanted to learn myself, so I put something together for you. This should get you a great start, if it’s not already exactly what you need.
UPDATE:
You don’t even need VBA for the first part. You can set up a rule to move all sent messages with
"RE: New Ticket Created"in the subject line to theIn Progressfolder. Therefore, you don’t even need the whole firstIfF Then End Ifblock in the code below. (I’ve left it for reference, purposes).CODE
All assumptions based on the settings you provided.
Place the code in the Application_ItemSend event of ThisOutlookSession object in Outlook VBE.