Skip to main content

No emails are being received from Wordpress hosted on cPanel

Comments

4 comments

  • SysSachin
    Hello, You have to check mail logs on the server. The logs will show the exact reason the mail issue.
    0
  • ssfred
    Hello :) Check and ensure that /etc/localdomians and /etc/remotedomains are in tune with the type of MX record for the domain.
    0
  • cPanelMichael
    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
  • NOC_Serverpoint
    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.