• Resolved Brendan

    (@brcvogt)


    Hi,

    I have installed WordPress 4.3.1. I have no other plugins installed except for Akismet. I installed WP Mail SMTP version 0.9.5.

    I would like to have my emails sent via SMTP, not with the default configuration that comes out of the box with WordPress.

    This is how I setup WP Mail SMTP on my WordPress site:

    From Email: [email protected]
    From Name: Admin @ Example
    Mailer: Send all WordPress emails via SMTP.
    Return Path: Not checked
    SMTP Host: smtp.example.com
    SMTP Port: 587
    Encryption: No encryption.
    Authentication: Yes: Use SMTP authentication.
    Username: [email protected]
    Password: **********

    When I the settings above to register a new user on the front end of the site no emails are sent. When I change the mailer option to: Use the PHP mail() function to send emails then the normal emails are sent for registration.

    What am I missing here? The mail logs that I get from my host at Hetzner it doesn’t show any errors. So I am not sure how to see why it fails. Where do I need to go and check error logs?

    Both [email protected] and [email protected] (example.com replaced by my URL) exist as accounts on my website.

    Regards,
    Brendan

    https://www.ads-software.com/plugins/wp-mail-smtp/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Sometimes, Mailservers are configured to disallow mail sent locally via SMTP (for various reasons, ahem). Can you check if yourdomain.name and smtp.yourdomain.name point to the same server? If they do, it might be worth a try to set the smtp host to “localhost” or “127.0.0.1” (please test both, trust me on that one).

    He said PHP mail() – i.e. SMTP on localhost to port 25 – does send email, so his mailserver is not configured to disallow mail sent locally via SMTP.

    His problem is trying to use SMTP on smtp.example.com to port 587 with authentication which could be failing for a dozen reasons.

    Thread Starter Brendan

    (@brcvogt)

    I managed to get this working. The host gave me the SSL settings, I applied it and now it works.

    The only thing that I couldn’t get working (but it is not an issue) is that when you leave out name and from address (the top 2 input fields) then no emails are being sent.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP Mail SMTP not working in Wordpres 4.3.1’ is closed to new replies.