A few days ago I received a mail from a reader, notifying me that my contact form was not working. I use Contact Form 7 on my blog and I was very surprised by the fact that it was not working. It usually is just plug and play.
The error message I was getting was “Failed to send your message. Please try later or contact administrator by other way.”. A quick Googling and I came upon this post by Mario Vargas. I then realized that the error I was getting was because my mail settings were messed up. You can find my mail settings on the screenshot below:
As you can see, I was using the reader’s email address to send me emails. This was the wrong thing to do. Even if the mail would be sent, it would be flagged as spam. As a general rule, you should only send emails belonging to your domain from your domain. (send only @technoreply.com mails from www.technoreply.com).
So, I applied this formula. I changed the senders email to one that belongs to me. The screenshot below speaks for itself:
This simple little trick worked for me. It saved me a lot of time since I did not have to tweak my server.