Report this

What is the reason for this report?

Wordpress Custom Contact Form Plugin Not Working On Live Envrioment

Posted on December 21, 2014

Hi,

Hi,

I created a custom contact form plug-in, it also uses the WP-Mail-SMTP plugin for smtp email sending. It is working on my local development environment, but not on my live environment. When i use the WP-Mail-SMTP plugin to send a test email, that works fine.

http://pastebin.com/JfEfrCxW

It returns Error Sending Message Instead of the Thanks for contacting me message. I receive no email in my inbox.

So i tried this guys small plug-in to send an email to my self.

http://wordpress.stackexchange.com/questions/95016/wordpress-refuses-to-send-mail-your-host-may-have-disabled-the-mail-funct

This worked on my local environment as does my own plug-in but again does not work on live environment.

So we can rule out it’s nothing to do with the plug-in code?

What’s stopping this from working on live?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.