Check this; it will definitely solve the problem:
1)Turn iMessage off in settings
2)Power off your phone and then turn it on.
3)Send a txt to yourself, and press the home button immediately.
4)Go into settings, turn on iMessage.
5)Send a txt to yourself again, should be fixed.