There is one hope on recovering the deleted messages, and this is the backup on your computer. If you ran the sync process after the message has been created, but before it was deleted, you can still recover it. For this, plug your iPhone into the computer, and restore the last backup from iTunes menu. Before of this, you should save the files that you want not to be backed up. Another problem is that if you make a backup now, after the deletion of the important message, you will lose the message. It all depends on how important the message was and if it’s just the date&time of the message, you can try checking the AT&T datalog.
For saving, archiving, and viewing the iPhone messages, you can use a software like Syphone, which is a freeware utility for Macintosh, and especially for iPhone users. This software can be installed on your Mac, and it doesn’t modify anything on your iPhone, except the thing that it allows you to view, save and backup the messages on it, even the ones you have deleted.
On iPhone, you can store a limited number of messages at one time. If you exceed this limit, the existing conversations might be deleted to make room for the new messages. Syphone allows you to create this space for the new ones, and keep the ones you want on your computer. You can do this maintenance in the familiar iChat format to view the archived messages and in addition, if you have more iPhones, it can create separate profiles for each of them.
Now that you have found out how to recover deleted text messages on iphone, you can make easily mistakes, knowing that there are some solutions for this problem!