I am trying to speed up a process and wanted to know if what I'm thinking is possible. We have emails that are auto-generated, that when they arrive, we search the body for specific phrase. If that phrase is found, we reply with the entire line of text that the phrase appears in. Would it be possible to make a rule that would achieve the same thing?
For example:
An email arrives, triggering the rule. The rule searches the body of the email for "not associated", if it finds that phrase, it does a "Reply All" and pastes "We're sorry, but the file is not associated with this plan",the entire sentence containing the search text, at the top of the reply body. For a little more reference, the line of text is always on it's own line and followed by a blank line.
I'm using Outlook 2013. As far as what I've tried, I'm basically stuck because I can't figure out how to get outlook to copy a specific line of text. I have no real programming experience, but am pretty good at looking at code and modifying variables to work with my data. I have tried to find some code to get me in the right direction, but can't seem to find anything that seems like it would work.