No emails are being received from Wordpress hosted on cPanel
I am a total CPanel newbie - I have root access and have a website in which I have a form creator set up.
When filling out the form none of the emails are received to the recipient or the administrator. When looking at the cpanel admin files, it indicates that the email was sent.
I have this same plugin on another server not running cpanel and it works fine.
Please help
-
Hello, You have to check mail logs on the server. The logs will show the exact reason the mail issue. 0 -
Hello :) Check and ensure that /etc/localdomians and /etc/remotedomains are in tune with the type of MX record for the domain. 0 -
Hello, Could you search for one of the messages in /var/log/exim_mainlog and let us know the output? Here's an example of a command you can use: exigrep user@affected-domain /var/log/exim_mainlog
Ensure you post the relevant output in CODE tags, and remove any identifying information about the domain name or server. Thank you.0 -
Hello, Open the file wp-includes/class-phpmailer.php In the file you should find: // PROPERTIES FOR SMTP In my file its on line 166. Below that you can edit the SMTP information for wordpress, if you are using googleapps you can use the following information for that: host: ssl://smtp.gmail.com port: 465 smtpsecure: tls smtpauth: true username: your google apps username password: your google apps password Just leave the other smtp settings as they are. Save that file and upload, now any emails being sent via a contact form from your blog should send just fine. 0
Please sign in to leave a comment.
Comments
4 comments