WordPress.org

Forums

WP Mail SMTP
Send all WordPress emails via SMTP - Not working (29 posts)

  1. Cyberster
    Member
    Posted 1 year ago #

    I've latest 0.9.3 version of WP Mail SMTP plugin.

    Send all WordPress emails via SMTP -> option not working

    Use the PHP mail() function to send emails -> option working

    Why first option not working? I've used it before, and it was working.
    Its happening from last 3-4 months. May be I had wordpress 3.5-3.6 version.

    I tried with same mail server settings for both...

    http://wordpress.org/plugins/wp-mail-smtp/

  2. eitanc
    Member
    Posted 1 year ago #

    I probably have the same issue.
    I work with 0.9.3 (using SMTP) and wp 3.7.1

    All worked fine up to 0.9.3, and the backup plugin I use, backwpup sent emails to me at the end of each backup, but now it stopped, on all my sites with the same configuration.

    The self-test email of wp-mail-smpt works fine.

  3. eitanc
    Member
    Posted 1 year ago #

    OK, I did one more test:

    I also use the plugin of "post notification", so I used its test send feature and it failed, using the following (edited) data:
    "
    The mail has not been sent!
    PHP-Mailer - Dump:

    object(PHPMailer)#<number> (<number>) {
    ["Priority"]=>
    int(<number>)
    ["CharSet"]=>
    string(5) "UTF-8"
    ["ContentType"]=>
    string(9) "text/html"
    ["Encoding"]=>
    string(4) "8bit"
    ["ErrorInfo"]=>
    string(35) "SMTP Error: Could not authenticate."
    "

  4. Cyberster
    Member
    Posted 1 year ago #

    I'm getting "Could not connect to the server!"...
    But your seems authentication (user/pwd) error.

  5. eitanc
    Member
    Posted 1 year ago #

    I did a test and changed the delivery method of the plugin to be the PHP mailer option and now all the plugins send their emails correctly and without any errors.
    But, as I wish to use the SMTP option as it is more secure, I ask for this issue to be fixed.
    Thanks!

  6. Callum Macdonald
    Member
    Plugin Author

    Posted 1 year ago #

    Try installing version 0.9.1, does the issue you're experiencing go away?
    http://downloads.wordpress.org/plugin/wp-mail-smtp.0.9.1.zip

    There were no changes to the logic, 0.9.2 and 0.9.3 were just bugfix releases. So upgrading shouldn't have broken any SMTP functionality.

  7. gdolenc
    Member
    Posted 1 year ago #

    No, the problem stil presit.

  8. eitanc
    Member
    Posted 1 year ago #

    Yep, the same issue happens with 0.9.1.
    Maybe something with the integration of the plugin with the new WP version of 3.7.x.

  9. Cyberster
    Member
    Posted 1 year ago #

    Yes, same with 0.9.1
    +1 to eitanc

  10. Callum Macdonald
    Member
    Plugin Author

    Posted 1 year ago #

    So whatever issue you're having is not related to the new release of the plugin, but has always been there, and it's not an issue with the plugin itself, but something in the setup.

    @eitanc: You posted an error message that says "cannot authenticate". That's probably an issue with your SMTP username and password settings, or the server or port you're using.

  11. eitanc
    Member
    Posted 1 year ago #

    Hi Callum,

    Thanks for checking this.
    But the plugin's own test works fine with the veteran SMTP configuration, so I guess it is something about the integration between the other plugins and/or WP with your plugin.

  12. Callum Macdonald
    Member
    Plugin Author

    Posted 1 year ago #

    Could be, I'm not sure how the other plugins send emails, so can't say about that. I understood from reading the thread that everything used to work, and since upgrading the plugin to 0.9.3 it stopped working, but it seems like that's not correct.

    Personally, I'm using the plugin on WP 3.7.1 and v 0.9.3 and everything works fine. But I'm only sending mail to localhost, no authentication.

  13. eitanc
    Member
    Posted 1 year ago #

    Yes, you are correct - 0.9.3 is not the point, as it is happening also on 0.9.1 with WP 3.7.x.

    Can you try our configuration on a test site or similar?
    The Backwpup plugin will enable you to quickly use an email delivery feature.

    Alternatively, if you can direct us to somehow debug this issue and send you/post here the results, it will also be great.

  14. Callum Macdonald
    Member
    Plugin Author

    Posted 1 year ago #

    I can send with or without authentication, local or remote server. This plugin only activates features built into WordPress, it doesn't do anything to actually send the emails.

    Was the plugin working for you on previous versions of WordPress?

  15. eitanc
    Member
    Posted 1 year ago #

    Yes it was.

  16. Callum Macdonald
    Member
    Plugin Author

    Posted 1 year ago #

    Try changing back to that version of WordPress, see if it works. Did you upgrade the other plugins? This is all outside of the scope of WP Mail SMTP. The plugin appears to be working as expected...

  17. eitanc
    Member
    Posted 1 year ago #

    How can you say it is working as expected if several users, with what looks to be the same configuration - tells you it doesn't and you don't even try to repro this configuration?

    I will not role-back to older version as I KNOW it worked well in the previous version of WP.

    If you wish to seriously check claimed issues about this plugin - than please test it as described and if not - just tell us and we will move on.

  18. Callum Macdonald
    Member
    Plugin Author

    Posted 1 year ago #

    You know it worked in the past, you don't know that every other piece of the system has not changed. Maybe your mailserver changed settings, maybe your hosting provider blocked a port, there are any number of possibilities as to what the cause of the issue might be. If you can roll back to 3.6.x and it works, you've likely identified the cause of the issue. But simply stating "it used to work, it doesn't now", is not the same thing.

    @Cyberster: Did you find a solution? If you tried with a previous WP version and it works, but does not work with 3.7.1, please let me know which version works and I'll look into it further. I also recommend contacting your mail provider to verify if their setup has changed at all.

  19. eitanc
    Member
    Posted 1 year ago #

    Very interesting.
    I have made deeper tests, also comparing with another SMTP plugin, and I found that this plugin has a real bizarre security corner case, that is very persistent.

    I'm checking it now with my hosting company as this issue is on the border line between the plugin and the hosting server.

    I will update here when I have more solid conclusions.

  20. Callum Macdonald
    Member
    Plugin Author

    Posted 1 year ago #

    Which plugin has a bizarre security corner case?

  21. Callum Macdonald
    Member
    Plugin Author

    Posted 1 year ago #

    @eitanc: I think you said you can send mail without authentication on the test form. Try sending the message to a different domain, so if you're using gmail, send to yahoo, or if you're not using gmail, send to gmail. If you send mail to yourself with your own mailserver, it'll probably always accept it, with or without authentication.

    Maybe your config allows you to send email to yourself (so WordPress emails to you would work) but emails to other places won't.

  22. Eddie
    Member
    Posted 1 year ago #

    I have been through all afore noted testing parameters and it is still broken.

  23. flynch55
    Member
    Posted 1 year ago #

    I have the same problem as reported by others in this thread: I can send a test email to my gmail account successfully but when I attempt to do it from a php file using mail() it fails.

    The "Send Test" must be doing something different than plain old "mail()". "Send Test" works but mail() does not.

    The bottom line for me is that using php mail() does not work.

  24. Sic
    Member
    Posted 1 year ago #

    Try this:

    I've just installed this today and had to change the SMTP port to 587 and the security to TLS encryption to get it to work for Gmail.

  25. sueblue
    Member
    Posted 1 year ago #

    Callum,

    Plugin will not Upgrade, Activate or Delete!
    I have version 0.9.1 on WP 3.9.1

  26. sueblue
    Member
    Posted 1 year ago #

    Here is what I get when trying to update it:

    Unpacking the update…

    Installing the latest version…

    Removing the old version of the plugin…

    Could not remove the old plugin.

    Plugin update failed.

  27. Tony Locke
    Member
    Posted 9 months ago #

    Gmail works for WordPress via SMTP only after lowering your security settings.

    https://support.google.com/accounts/answer/6010255

    Allowing less secure apps to access your account

    Google may block sign in attempts from some apps or devices that do not use modern security standards. Since these apps and devices are easier to break into, blocking them helps keep your account safer.

    Some examples of apps that do not support the latest security standards include:

    The Mail app on your iPhone or iPad with iOS 6 or below
    The Mail app on your Windows phone preceding the 8.1 release
    Some Desktop mail clients like Microsoft Outlook and Mozilla Thunderbird
    Access your account

    https://www.google.com/settings/security/lesssecureapps

    To help keep your account secure, we may block these less secure apps from accessing your account, and you’ll see a “Password incorrect” error when trying to sign in. If this is the case, you have two options:

    Upgrade to a more secure app that uses the most up to date security measures. All Google products, like Gmail, use the latest security measures.
    Go to Allow less secure apps and choose “Allow” to let less secure apps access your Google account. We don't recommend this option because it may make it easier for someone to gain access to your account.

  28. kjoy
    Member
    Posted 8 months ago #

    I'm having a similar problem with the plugin. I'm using WordPress 4.0 and it is not working as it previously was. I've tried both gmail and yahoo SMTP server information and both fail to send test emails. I've also tried sending to different email addresses on different servers. I also deactivated all other plugins and it still doesn't work.

    The SMTP debugging output is:

    SMTP -> ERROR: Failed to connect to server: Connection timed out (110)

  29. Rams07
    Member
    Posted 8 months ago #

    Hi,

    I am installing Woocommerce plugin for my cart. I also installed the WP Mail SMTP. when I try to send the Emails it cant works good. I have WordPress Version 4.0 / WP Mail SMTP Version 0.9.5.

    Please help me on this.

    Thanks and Regards,
    -Rams

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Mail SMTP
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags