HTC One M7 Text messaging problems
Try using another messaging app instead if the default one like hangouts or Google messenger. 
You can change the settings for default messaging app in "more" in the settings app.