To make the messages from unknown senders visible, open Settings of your iPhone and turn off the filter applied to text messages from unknown senders. You will then be able to view the messages.