I don't believe that you could get an app to do what you want, it would involve a third party app interfering with the operation of the built in message app. This would violate the Apple sandbox rules which limit how an app can act in relation to other apps.
There may be a jailbreak tweak or app available but as I don't jailbreak, I'm not familiar with what's available.