Easy WordPress SMTP – Send Emails From Your WordPress Site Using a SMTP Server

screenshot showing the homepage of easy wordpress smtp plugin

Easy WP SMTP is a user-friendly SMTP plugin for WordPress. It allows you to send emails from your WordPress Site via one of your preferred SMTP server. This will improve the email deliverability from your server.

Plugin Details
App Category
WordPress Plugin
Software Name
Easy WordPress SMTP
Date Modified
Operating System
WordPress 3.9
Send Emails From Your WordPress Site Using your preferred SMTP Server
Landing Page
File Format

What is SMTP?

SMTP (Simple Mail Transfer Protocol) is a communication protocol to transfer emails over the internet.

SMTP & WordPress

Often sending emails from your WordPress blog can be a little painful. In my experience I have seen users having the following issues:

  • Sending email from my WordPress site but it’s not getting delivered to the recipient
  • The email has been sent but it went into the spam/junk folder on the recipient side
  • The email wasn’t sent because of the server restrictions
  • The email got lost somewhere in the server

To prevent this issue SMTP can come in very handy. Instead of actually sending the email to the recipient you can configure your WordPress blog so it sends the email via a SMTP server.

All the popular mail services (example: Gmail, Yahoo, Hotmail) have SMTP servers. Once your site is authenticated with a SMTP server it will allow you to transfer all outgoing emails from your WordPress blog to the appropriate recipients.

Benefits of Using SMTP

  • You are using a SMTP server of a popular mail service so the email is less likely to be marked as a spam
  • The SMTP server is taking the full responsibility of delivering the email to the recipient. It lowers the risk of emails getting lost somewhere
  • You are using one of your preferred email address to send email from (example: abc123@gmail.com)

Easy WordPress SMTP plugin makes sure that you never need to worry about “email not being delivered”. It does everything for you so your WordPress blog is ready to use SMTP.

Easy WordPress SMTP Installation

  • Go to the Add New plugins screen in your WordPress admin area
  • Click the upload tab
  • Browse for the plugin file (easy-wp-smtp.zip)
  • Click Install Now and then activate the plugin

Easy WordPress SMTP Usage

Once you have installed the plugin please go to the Settings menu of the plugin to configure some SMTP specific options. It has two sections:

1) General Settings

screenshot showing the general settings menu of easy wordpress smtp plugin

  • From Email Address: The email address that will be used to send emails to your recipients
  • From Name: The name your recipients will see as part of the “from” or “sender” value when they receive your message
  • SMTP Host: Your outgoing mail server (example: smtp.gmail.com)
  • Type of Encryption: none/SSL/TLS
  • SMTP Port: The port that will be used to relay outbound mail to your mail server (example: 465)
  • SMTP Authentication: No/Yes (This option should always be checked “Yes”)
  • Username: The username that you use to login to your mail server (example: abc123@gmail.com)
  • Password: The password that you use to login to your mail server

Once you are done click on the “Save Changes” button to save the settings.

For your convenience I have made a configuration list of some of the popular SMTP servers


  • SMTP Host: smtp.gmail.com
  • Type of Encryption: SSL
  • SMTP Port: 465


  • SMTP Host: smtp.mail.yahoo.com
  • Type of Encryption: SSL
  • SMTP Port: 465


  • SMTP Host: smtp.live.com
  • Type of Encryption: TLS
  • SMTP Port: 587

2. Testing & Debugging Settings

screenshot showing the testing and debugging settings of easy wordpress smtp plugin

This section allows you to send a test email to a recipient to make sure that everything is working as expected. Let me give you an example so you know what will happen:

a) You want to use Gmail as your SMTP server and you have already configured your main email address “abc123@gmail.com” (in the general settings) to send all emails from your site.

b) Now you want to check what a recipent will see when an email is sent from your site. So you enter your alternative email address (example: jdb123@gmail.com) in the “To” field along with a subject and a message.

c) When you click on the “Send Test Email” your WordPress site (SMTP client) will relay this email to the Gmail SMTP server. Gmail will authenticate this request based on the credentials you have provided (example: username, password).

d) Once the request is authenticated Gmail will finally send this email to jdb123@gmail.com. The recipient will see that the email was sent from abc123@gmail.com. But actually the email was sent from your WordPress site via Gmail SMTP server.


  1. mathieu turpin says

    I have the debug page that appears to client for couple of seconds… ie:
    SMTP -> FROM SERVER: 220 p3…….
    SMTP -> FROM SERVER: 250
    SMTP -> FROM SERVER: 250 sender ok
    SMTP -> FROM SERVER: 250 recepient ok
    SMTP -> FROM SERVER: 354 enter email, end with “.” on line by itself
    SMTP -> FROM SERVER: 220….. mail accepted for delivery…. and so on

    Everything works fine, debug screen could seem a bit wierd for clients when they list their business in my directory. Let me know if that’s normal?


    • mike carpenter says

      Hi, I get the same as Matt above: on the page that sends the email out the following debug stack trace is visible on the page:

      SMTP -> FROM SERVER:22 mail.host100.co.uk
      SMTP -> FROM SERVER: 250-xxxxxxxxxx Hello [xxx.xxx.xxx.xxx.xxx] 250-SIZE 52428800 250-AUTH LOGIN CRAM-MD5 250-STARTTLS 250 OK
      SMTP -> FROM SERVER:250 OK Sender ok
      SMTP -> FROM SERVER:250 OK Recipient ok
      SMTP -> FROM SERVER:354 Start mail input; end with .
      SMTP -> FROM SERVER:250 OK

      using plugin-verson 1.0.2



          • Becs Rivett says

            Hi I ham using 1.0.2 and this is still visible when posting in buddypress for admins but we don’t want to see it. How can we turn it off?

          • Becs Rivett says

            I commented out like this and it seems to have stopped it…until the plugin is updated. Why would anyone want to see that output…make it an option not mandatory

            //$phpmailer->SMTPDebug = 2;

  2. Jason says

    Could not connect to SMTP host 0
    Could not connect to SMTP host 111

    Any idea what these 2 error codes mean?

  3. Robson says

    I use easy smtp and configure all fields correctly
    [admin removed the email address]
    my pass is ok
    587 port
    but it could send my messages, can you help me?

    SMTP -> ERROR: Failed to connect to server: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

  4. Madeline says


    I am using gmail to send my emails. Each time I try to send a test, it just says “Email could not be sent.” Do you know why this could be?


  5. Martin says


    I have two questions about the plugin:

    1. I’m using version 1.0.2 of the plugin with the Jigoshop e-commerce solution. Like some others have mentioned in these comments I also get the Debug info displayed on the webpage when a mail is sent. All confirmation emails are sent just fine when the user clicks the “place order” button, but instead of redirecting the user to the usual “thank you for your purchase page”, the checkout page remains on screen, with the debug info displayed at the top.

    2. Some of the other SMTP plugins (notably WP Mail SMTP and Configure SMTP) have received comments on their handling of the password, with some even claiming it is kept in a readable state in the database and even the HTML. Could you comment on the was your plugin (Easy WordPress SMTP) handles password security/encryption?

    Hope these issues can be resolved as your plugin seems to be by far the most user-friendly of the lot!

    • admin says

      Hi, this issue has been already fixed in the recent plugin update. What version of the plugin are you using?

      • rabijit says

        Hi i got this error SMTP -> ERROR: Failed to connect to server: Connection timed out (110)
        What should i do? I am using live.com mail.

  6. Wayne Powell says

    I wanted to try this plugin, and it does work, except that it outputs the Debugging output in the back-end Dashboard if you do any emailing from there.

    • Wayne Powell says

      Actually, I see that it is outputting code in various different Plugin back ends, so there must be some overlapping variable being used that triggers a function:

      SMTP -> FROM SERVER:220 mail7.hspheredns.com ESMTP

      SMTP -> FROM SERVER: 250-mail7.hspheredns.com
      250-SIZE 20971520

      SMTP -> FROM SERVER:250 ok

      SMTP -> FROM SERVER:250 ok

      SMTP -> FROM SERVER:354 go ahead

      SMTP -> FROM SERVER:250 ok 1372792531 qp 19280


  7. rabijit says

    Hi i got this error SMTP -> ERROR: Failed to connect to server: Connection timed out (110)
    What should i do?

  8. Guy Lussier says

    Hi, the plugin works great when I use it from a server located on my PC (WAMPSERVER). However, when I use it on my web server, it’s not working. The message that comes back is Could not connect to server. Even if I try Yahoo or Google SMTP servers.

    Any idea what it could be?


  9. saqib says

    i have this debug error and can not send email
    SMTP -> ERROR: Failed to connect to server: Unable to find the socket transport “ssl” – did you forget to enable it when you configured PHP? (59267368)

  10. Mary says


    I have set the Gmail SMTP servers, and absolutely every information is correct. but it notice email could not be sent !!

    Anyone can help, thanks!

    Best Regards

  11. admin says

    @Becs & Wayne, I have updated the plugin. Now you should be able to easily enable/disable SMTP debug in the plugin settings.

  12. tanjiasong says

    thank you for this really good plugin, it’s easy to use and set, the most important , it does work fine~

  13. Randy Nieukirk says

    I am having the same issue everyone else seems to have: SMTP -> ERROR: Failed to connect to server: Connection refused (111)

    I am using my Business Google Apps account and all the information I have input into the settings page are correct, however it is not connecting. What do I need to do to make this work with my WP/WooCommerce site hosted by GoDaddy?

    Thanks. This is holding my store from launching.

    • admin says

      Hi, currently the plugin works with a regular Gmail account (the one you can create for free). Unfortunately it doesn’t have any type of integration with Google Apps.

    • Cory Kucera says

      I’m having the same issue with a free gmail account, everything I try does not seem
      to work, I get the same error.

  14. Lolizan says

    hi.. nice app
    But for some reason the Debug Settings are not appearing on one domain but on another it did appear
    so i just get the error “Email Not Sent” cant figure out whats the issue ..
    any help around this where i can look ?

  15. Csa says

    Hi there,

    We’re having trouble when a user registers no email is sent, however the test and forgotten password emails both work?


    • Streetside Bob says

      We’re also seeing ‘Register’-emails (with password to log in 1st time) are NOT being sent. All other emails seem to be working correctly. Are anybody else getting this behaviour? What may cause this? It’s a super great plugin, so would you (admin/plugin author) please give us a pointer and we’d be happy to share more information with you. Thanks!

  16. Amy says

    Thank you for this plugin!

    When I leave the From email address and From name blank, the email sends ok. But when I enter a valid From email address (does this have to be the same as the username?) and From name it fails to send.

    What am I missing?

  17. Len says

    In the content of my test email the apostrophe’s are escaped.

    Here is what I received from the email test.

    Doc Bruce Banner, pelted by gamma rays, turned into the Hulk – ain\’t he unglamorous! Wreckin\’ the town with the power of a bull, Ain\’t no monster cause who is that lovable? It\’s ever-lovin\’ Hulk!…Hulk! Hulk!

  18. ViggoV says

    Hi there..

    The plugin seems to work great, but I wonder: Does it reconfigure the wp_mail() function? Or does it have some kind of function I can call from my themes Contact form?


  19. Project18 says

    We are using Easy WP SMTP v1.0.4.
    When testing the settings we get the error messages below. Can we increase the time to attempt to connect?

    Email could no be sent

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

  20. Yaron says

    This does not seem to be working for me. It seems to be trying to use the server’s SMTP info. I tried two different SMTP servers, Google Apps and Gmail and got the same error (note that vpscloud005.basiclink.com is my web server):

    SMTP -> FROM SERVER:220-vpscloud005.basiclink.com ESMTP Exim 4.80.1 #2 Wed, 21 Aug 2013 16:26:44 -0700
    220-We do not authorize the use of this system to transport unsolicited,
    220 and/or bulk e-mail.

    SMTP -> FROM SERVER: 250-vpscloud005.basiclink.com Hello moderndayscribe.com []
    250-SIZE 52428800
    250 HELP

    SMTP -> ERROR: Password not accepted from server: 535 Incorrect authentication data

    SMTP -> FROM SERVER:250 Reset OK

  21. pankaj says

    Hi , Thanks for the plugin it works just fine. I just want to know that is there a way to hook the mail sending function so that i can change the “from” or “sender” information for one form or instance. I just need to change the name and not the email address.


    • pankaj says

      Hey, I wasn’t able to hook the function and time was less so temporarily i’ve added conditions in the plugin file only. Do let me know if there’s a neat way of doing this.


  22. Art Minds says

    Just installed your plug an hour ago. I’m sending from my custom configured account at Outlooc.com, using the smtp.live.com port 587 setting. I’ve configured by SPF file to include live.com hotmail.com outlook.com and the server on which my domain is hosted. However I’m getting this error, no matter what test address I try:
    SMTP -> ERROR: Failed to connect to server: Connection refused (111)

    Can you offer any suggestions? I’m hosting on a shared server at HostGator.

  23. Haitham says

    I’m getting this error message, I’m sure about my SMTP settings and tested it before using

    SMTP -> ERROR: Failed to connect to server: Connection refused (111)

  24. CJ says

    Attempting to use the plugin, WP 3.5.1, WooCommerce 2.0.9, SMTP Configured Correctly;

    Debug reports:

    SMTP -> NOTICE: EOF caught while checking if connected

  25. waffledilly says

    I thought this would be the perfect easy solution for a newbie like me. But after I realized that gmail was blocking my test emails as malware or something and I selected it was me and to allow, the test emails began saying sent. No error message. No email either. I’ve sent emails from the tester, from another email account, they all say sent, but no new messages are showing up in my gmail account. I’ve probably sent 15 different messages.

    I’ve reviewed and reviewed the instructions and everything matches up……help please.

  26. Roy Randolph says

    I too ran into the issue with not being able to connect to my remote SMTP service.
    Here is what I found; hopefully it will help someone else.
    I am using at time of writing, version 1.04 of this plugin. And before I set it up, I wanted to confirm all my connection details where correct and working with the remote SMTP server. And they were.
    I first attempted to use SSL on Port 465, you should always use a secure connection if any way possible. But I couldn’t connect to the remote server. But I knew that the remote server was able to connect up. So I changed my setting from SSL to NONE and change the PORT from 465 to PORT 587. Then tried again and I was able to connect this time. It appears that the servers firewall was NOT letting traffic OUTBOUND on PORT 465.
    You might have to get with your host to discuss this issue with them or your server administrator to allow PORT 465 to be open. In most causes this shouldn’t be a problem.
    Now if you have confirmed you can connect to your SMTP account, and cannot connect using this plugin, then 1st change PORTS (check your SMTP service documentation as to the SMTP Ports they support), if you still can’t connect contact your Host and verify that the PORTS you are trying are indeed open on the servers firewall for OUTBOUND traffic. In most cases I believe you will find that just by changing PORTs you should be able to connect up.
    Hope this helps someone if they get the dreaded your email can not be sent or connect to the server.

  27. Zorem says

    Hi, I am using the plugin and suddenly 2 days ago it stopped sending emails, when I run a test, it say that the email could not be sent:
    SMTP -> ERROR: Failed to connect to server: Connection refused (111)

    The settings are correct (it worked fine before), I did not do any change and it stopped working on 2 sites so I guess there was some kind of a change or issue that is not on my end, I hope you can help

    • admin says

      @Zorem, clearly the plugin is not being able to connect to your SMTP server. Have you changed your password recently or anything that might affect this?

  28. waffledilly says

    Thank you! I tried your suggestions along with some other possibilities to no avail. But you did mention contacting my Host, so I did. My ports were open, so that wasn’t it.

    The problem was I just needed to go into CPanel and finish setting up the mailbox that I had already began. No plugin required.

    Thank you anyway!

  29. Rawi says

    I installed this plugin for the wordpress that is running in the localhost, when I tested this- I got message “Email could no be sent”
    and in the Full Debug: text area I got the message like this:

    This is the whole message I got.
    Please help.

  30. Stephen Sherrard says

    Just a note to let you know that your plugin will overwrite the reply-to fields set in the email headers by other plugins, such as contact forms.

    I have the PTA Member Directory & Contact Form plugin that I developed for our school PTA web site, and we needed to switch to SMTP mailing to ensure better delivery. When people fill out the contact form, there is a field for them to enter their email address, and I was setting that as the reply-to address in the email headers (which are sent with wp_mail). Your plugin would replace the reply-to address with the from address that you set up in your plugin’s options. Thus when we get the contact message and hit reply, we just send an email back to ourselves.

    This was quickly modified, and I created a new version of your plugin that I’m using for our PTA site, but I thought that might be something you might want to change for a future revision of your own plugin, or at least make it an option/setting. Your plugin seems to work just fine without explicitly setting the reply-to field. If you use the test email in your plugin you can see that phpmailer will automatically set the reply-to field to the from address if one was not set.

    Since I was already modifying your plugin, I also split out the settings to their own page and rewrote them to use the WordPress settings API for more conformity and security, and am working on some built-in help tabs for future webmasters of the PTA web site after I leave in a couple years. Also, I am giving you credit as the original author of the plugin, since I did very little modification to the heart of your code other than removing the setting of the reply-to field.

  31. Zlatko M says

    Please, can you share Stephens version as soon as possible – even like beta if not tested.
    Thanks in advance!

    You maybe try to senr thrue google account connected from website witch is in another land then you naturaly log on from.
    That doesent work for me.

  32. Himani says

    Sir I am unable to set up this plugin for my education related website. I am using academy by themeforest. I am using gmail id with which I contacted you. I am not having 2 step verification on. Once I test sending mail , I get a notification that email could not be send. Please guide me what can be a reason?

  33. Nancy says

    Hello! I have been very happy with this plugin, but recently noticed it is not working to send emails.
    This makes me very sad.
    I am on Easy WP SMTP Version 1.05, and WordPress 3.6.1
    I am using smtp.live.com, TLS, 587, SMTP Auth = Yes, and have a valid email address and password.
    The test email sends fine, no issues and nothing showing in the log as errors.

    I turn on debug, and send an email from my website, and no logging displays on the form, the email logs in the submission page, but no email is received.

    Any ideas?
    Thank you!

  34. E Okul says

    Hi everyone. I have just started to use this nice plugin. I had first tried using gmail servers but it did not let its servers to be used for mailing. Then I decided to use my hosting provider’s mail server. It worked! You just need to create a mail account for example “admin@yourdomain.com” then you need to learn the port number from your hosting provider and fill the form in the plugin’s setting page accordingly. I selected the Type of Encryption option as “None” just to inform you. Your SMTP Host must be the webmail homepage adress.

  35. sebastian says

    I installed the plugin and filled up the fields with the same values (except the email and the password for this email) but the error is:

    SMTP -> ERROR: Failed to connect to server: Unable to find the socket transport “ssl” – did you forget to enable it when you configured PHP? (20824599)

    What I sholud do?

  36. Francois says

    Hi there,
    Nice work on the plugin.
    I have some issue with your plugin and contact form 7. It does send the e-mail but the page is not refreshing saying message sent. Is there a way to fix this?

  37. Michael says

    Great plugin, why was it deleted from WordPress Plugins Directory?
    It still works with WordPress 3.9.

    Thank you. I really appreciate your work.

Leave a Reply

Your email address will not be published. Required fields are marked *

Current day month ye@r *