Support » Fixing WordPress » wordpress not sending email

  • Resolved Gil Hardwick


    I do apologise if this topic is answered elsewhere, or has been rehashed over and over again, but I’m at the point of tearing my hair out with it.

    I do need my website to successfully send emails.

    My system details are as follows:

    Apache 2.2.15 (CentOS 6.4), PHP 5.3.3, MySQL 5.1.69.
    Wordpress 3.5.2 with Kit MacAllister’s Brunelleschi 1.6.5

    The site is here:

    On initial installation, when I entered my new admin details I actually did receive an email advising me of the fact, but nothing since.

    I have tested and tested email but while it says ’email sent’ I never receive any.

    I have checked SMTP Port 25 from my server firewall through the router all the way through my ISP, and it’s open all the way through.

    I have run an open port checker with the result: ‘Port 25, SMTP is open and accepting connections’.

    I have telnet into the server via PuTTY with the result: ‘220 ESMTP Sendmail 8.14.4/8.07 +0800’.

    I have sent email from both KMail and Thunderbird mail clients on the server and they are delivered almost immediately.

    Please, somebody explain to me how I can get WordPress to send emails finally.

    Alternatively, please direct me to an already resolved post.

    Thanks in anticipation, and kindest regards to all here,


Viewing 3 replies - 1 through 3 (of 3 total)
  • Yui

    (@fierevere) team, ru_RU support & translation

    wp doesnt use smtp connection by default, its using php’s mail() function
    which defaults to execute sendmail directly
    You can use a plugin for sending mail via smtp

    GREAT!! Thanks enormously.

    Home and hosed 🙂

    OK, new problem. I propagated a yum update on the system and noticed it updated the kernel and some PHP-related files.

    I had Configure SMTP running OK, and receiving emails, but I get an error message:

    SMTP -> ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution (0)

    I’m getting this same message on all my sites.

    What do I need to do to fix this?

    Thanks, and kind regards,


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wordpress not sending email’ is closed to new replies.