FIXED Contact Form 7 Not Sending Email | Contact Form 7 Tutorials Part 15
Articles Blog

FIXED Contact Form 7 Not Sending Email | Contact Form 7 Tutorials Part 15


In this video, I’m
going to show you how to fix the problem of your
contact form 7 submissions not being sent to you and
how you’ll finally be able to receive the
emails that people are trying to get through to you when they
fill out your contact form. And we’re getting
started right now. [MUSIC PLAYING] Hey, what’s up, guys? Welcome back to another video. It’s Bjorn from WP
Learning Lab where we help you get better
WordPress so you can earn more for yourself, for your
clients, and for your business. If it’s your first time here,
hit the subscribe button, then hit the bell
notification icon so you’re notified when
I publish more WordPress tutorials for you. And I’m just curious,
how many of you guys are using contact
form 7 for something other than a contact form? For example, a multi-page
application form, or an appointment scheduler,
or a service booker. Just curious, what are you
guys using contact form 7 for? Leave it down in
the comments below. I’d love to know. And with that out of the way,
let’s fix this email issue over in the screen capture. I’ll see you there. So to get this done,
what we have to do is install a plugin called Easy
WP SMTP, which basically routes your emails through one
of your email accounts instead of going to the server
on your hosting account. And that often solves a
lot of these email issues that come into contact form 7. So we’re in
dashboard right here. We’re going to quickly
install this plugin by going to plugins,
and then add new and then searching
for easy wp smtp. The first one appears. And the top left here
is the one that I use. I’m going to click on install
now and then activate. Now the plugin is active, but
we have a little red message, a warning message
up here saying we have to set the credentials
for this plugin, which we do. So we’re just going to click
on this link to the setting of the menu right here. So these are the Easy
WP SMTP settings. What I encourage you to
do is check out this link right here, which takes
you the documentation. I’m going to open it right now. And the reason is, there’s a
bunch of different email types you can include in here. And this explains how to do it. So if we scroll down a little
bit, a bench of benefits using it. Configuration– So here’s the information
for Gmail, Yahoo, Hotmail. So those are the big three. So hopefully you’re
using one of those. If you’re not
using one of those, you’ll have to find the SMTP
host, type of encryption, and SMTP port from whatever
email service that you’re using in order for this to work. And I’m going to use
Gmail for my example. So I’m just going to
copy what they have here and put that in with the form
starting in this field right here. And for the type of
encryption, there’s TLS. And then SMTP port is 587. TLS for the encryption,
587 for the port. I’m just going to fill
in this top part here. The from address will just
be [email protected], nope, [email protected] For my name, it’ll be Bjorn. And in brackets, I’m
going to put WP PhD.com, so I know which site
this is coming from. If you have multiple
sites, that’s an important thing to do. We want it to authenticate. That yes. And then the user
name is going to be the username you use to log
in to your email account. So I’m going to type
in my user name. And the password is
the password used to log into that email accounts. I’m going to type
that in for me. Hopefully, got that right. And then click on Save changes. It shows settings is saved. Now we could do a
little test message. So recipient’s email–
this is going to be me. Subject’s going to be
test message, test. Then click on Send test email. So after doing that
send, the test send, we have failed to
connect to the SMTP. And if we go into
our email account, I got an email
from Google saying they blocked a sign
in attempt, which was that plugin trying to
sign in because what it does is it sends the
email from yourself to yourself, essentially. Instead of going through
the hosting servers, it goes through
your email account. And so Google thinks
somebody else is trying to hack into your account
or they know your password, and they block the log in. And what you can do
is click on this link here to allow access
to let secure apps. And then it’ll walk
you through how to allow access to that plugin. If you’re not using Google,
you may not have this issue. So you might not have
to do this at all. But if I turn this on right
here, it’s now updated. Now if we go back
and test this again, it should work a
little bit smoother. So we click on Test
and see what happens. Now we get the message
the a test email was sent, which is great. See if we can find it in here. Here’s the test message. So it shows it’s coming from
[email protected] So it was able to sign in
and everything worked out. I got the message. So if you’re having
problems with contact form 7 not sending your emails,
this is something to try. But keep in mind,
like Google just said, we’re doing something that’s
less secure than optimal. So if you don’t want to
the less secure method, there is another option,
which is saving the contact form 7 information to your
WordPress database, which I have another video for. I’ll like to it below
in the description. So check that out if you want
to save it to the database or try this if you
want to do it this way. So that’s how we fix the
email issue in contact form 7. If this method
doesn’t work for you, it works nine times out of 10. But if it doesn’t
work for you, you’re going to want to use
something called the Flamingo plugin, which saves the contact
form 7 submissions write to your database. But all in all, I hope
this video helps you. If you have any
questions or comments, please leave them
down below this video. If you haven’t done so
yet, hit subscribe and hit the bell notification
icon so you’re notified when I publish more
WordPress tutorials for you. And next up is clicking
one of these videos that appear in the right
hand side over here to learn more about WordPress
and get even better at it. And until next time,
keep crushing it. And I will see you
in the next video.

100 thoughts on “FIXED Contact Form 7 Not Sending Email | Contact Form 7 Tutorials Part 15

  1. TOTALLY CONFUSED. What I have to do Bro? Any Idea?

    CLIENT -> SERVER: EHLO www.szcourses.com
    CLIENT -> SERVER: STARTTLS
    CLIENT -> SERVER: EHLO www.szcourses.com
    CLIENT -> SERVER: AUTH LOGIN
    CLIENT -> SERVER: Y29udGFjdEBzemNvdXJzZXMuY29t
    CLIENT -> SERVER: TEBuZ3JAQkBAbmch
    SMTP ERROR: Password command failed: 535-5.7.8 Username and Password not accepted. Learn more at
    535 5.7.8 https://support.google.com/mail/?p=BadCredentials s10-v6sm8409018wmb.12 – gsmtp
    SMTP Error: Could not authenticate.CLIENT -> SERVER: QUIT
    SMTP Error: Could not authen

  2. test returns:

    CLIENT -> SERVER: EHLO (mysite.com)
    CLIENT -> SERVER: STARTTLS
    SMTP Error: Could not connect to SMTP host.CLIENT -> SERVER: QUIT
    SMTP Error: Could not connect to SMTP host.

  3. I did installed the plug in. and set up the SMTP settings according with your video. I am using gmail. After I run test order i got this error:
    CLIENT -> SERVER: EHLO www.peachlandfun.ca
    CLIENT -> SERVER: STARTTLS
    CLIENT -> SERVER: EHLO www.peachlandfun.ca
    CLIENT -> SERVER: AUTH LOGIN
    CLIENT -> SERVER: bGFuYS5yb2dvdmExQGdtYWlsLmNvbQ==
    CLIENT -> SERVER: cGVrYTIwMTckJA==
    SMTP ERROR: Password command failed: 534-5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbuO
    534-5.7.14 WpXUVvS6fFWaBbxHJEAQWlom_Nhy7uCKoeCHJ1rNr7-h3JKMTpHsSpIOpoglFsrhXdYDKN
    534-5.7.14 J7KrZQ-8Vl0SHCaCsZ8KXPtTzEHUiffMJ9jNZWIvvVM08wiPYc7YCccS17SNg8b0rgSyE3
    534-5.7.14 g4wY15Jd5roD4X4WSZRXqtqO87Y1QNj7c85P33befFBaBY36_N7xDLoI8fDIF8fINuhQ-T
    534-5.7.14 vAdvGxzL-FbppGUxyrSSN-lV4OvGKxrzfj4TcVzGSAXssU43mp> Please log in via
    534-5.7.14 your web browser and then try again.
    534-5.7.14 Learn more at
    534 5.7.14 https://support.google.com/mail/answer/78754 r10-v6sm7858678oif.37 – gsmtp
    SMTP Error: Could not authenticate.CLIENT -> SERVER: QUIT
    SMTP Error: Could not authenticate.

    I did allow in gmail the receiving the emails. Why I get this message?
    And also when i try to send a message from Contact form , now it says :
    There was an error trying to send your message. Please try again later.

    :-((

  4. When you do it like this is Contact Form 7 capturing emails and info in the back end. Or is it just sending you emails? Thanks

  5. So, no need for extra settings in Contact Forms 7 plugin or forms created? I just configure WP Easy SMTP and Contact Forms 7 are ready for SMTP sending? What about the "From" mail field in a contact form I created. I imagine it must match the adress I input in the WP Easy SMTP, right? And thanks for the video!

  6. Hi, do you know if my contact form 7 can send emails, however, my company email server seems somehow blocks them since I can receive those emails on my gmail and hotmail, what should I do to solve this?

  7. i wonder why do i get email message from "SMTP username field" instead of "From Email Address" field? whats wrong?? please help

  8. Hey! I got this error . I already Allow less secure apps: ON …But i still have this SMTP ERROR: Failed to connect to server: (0)SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting..

  9. Hi Bjorn – I don't get one thing: if Gmail is the problem, why are you typing in non-Gmail accounts into the form? What I mean is – my business email is a gmail account. Sooo…can I use that in the easy wp form and have it work?

  10. The verification mail is not coming…Easy WP SMTP plugin has got update (Type of Encryption)has been changed to SSL/TLS… its not helping at all.

  11. Showing this message:

    Following error occured when attempting to send test email:
    SMTP Error: Could not authenticate.

    CLIENT -> SERVER: AUTH LOGIN
    CLIENT -> SERVER: bWRkb2ZpbmRpYUB5YWhvby5jb20=
    CLIENT -> SERVER: bWFsYXlhbGVl
    SMTP ERROR: Password command failed: 535 5.7.1 Authentication failed
    SMTP Error: Could not authenticate.CLIENT -> SERVER: QUIT
    SMTP Error: Could not authenticate.

    Please tell me what's wrong

  12. For me here, the default form works properly but all the other forms I create shows error message "Failed…"

    So I came to the conclusion that probably the web hosting is the reason. Well, I also think web hosting providers can not create such an issue where all hosts know the WordPress requirement.

    So I am not sure what actually causing the problem. I should move to other plugins because I am receiving mails from companies and individuals, so the default form is not sufficiant I need to create one more form for advertisement request.

  13. I am having this same issue and after attempting to use the alternate plugin and contacting the host for my clients site (network solutions) I cannot send SMTP through their mail server. I downloaded Flamingo and that is capturing the form but is there any reason why the emails aren't going through? The host did a test and nothing seems to be out of the ordinary. He said, "I am pretty good with the forms and the email and I cannot see where it is going but on the server it is telling me all is fine for the functionality of the mail on the server for the hosting package and then all associated to it."

    I am open to suggestions. I have never had an issue with this form before but I have never worked with this host before either.

    John Cheek

  14. How do you change the FROM email to the Contact Form 7 [your-email] I would prefer to see the contact pop up in Outlook instead of myself as it is slightly irritating. This is so i can easily add the contact to my contacts list's within Outlook, i can also see a customer asking me this in the future.

  15. Hi, I just have a question for you. On the video, you enter the email not ending with gmail.com. I am a little confused about it. Because my gmail account has @gmail.com after. I am lost there. Can you explain it more. Thanks

  16. Hey brother…great vids. My contact form doesn't display properly.It is there but hard to see. I have oceanwp theme and I have a black body background throughout all 7 pages. The last page is the contact page with the form but cannot for the life of me figure out how to lighten the blackground around the contact form without changing the black background of the other 6 pages..I want to keep them black?? Thank you

  17. Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected T_FUNCTION in /wp-content/plugins/easy-wp-smtp/easy-wp-smtp.php on line 214

  18. Hi Brother, I have the almost same problem.When anybody try to send an email through my contact form on website, it shows " There was an error trying to send your message. Please try again later." I have tried to install the plugin you suggest and done all accordingly, but nothing works. PLEASE ADVISE A SOLUTION?

  19. Hey, after I saved my settings and want to do a test mail nothing is happening? I'm using google mail. What is going on? I do get a error in WordPress; SMTP ERROR: Failed to connect to server: (0)SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

  20. Hi, I tried to send a test messgae and this error comes. SMTP ERROR: Failed to connect to server: (0)SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    Please let me know what should I do

  21. Helpful video. It would be great if you could describe why the emails don't go out in the first place and why this plugin is needed.

  22. So this did not fix my contact form 7 issues. I used the provided fields for gmail and put in my proper password/email and still nothing, having issues with the SMTP code. SMTP.gmail.com doesn't work. Or maybe its the 587 or whatever number it was. Frustrating that wp has this issue. You make a site with an email then ALL E-MAILS from any part of that site should go to your provided e-mail with ZERO issues! IM FRUSTRATED TO THE MAX. [email protected] if WP gives a shit.

  23. there is an issue with form 7 and mail chimp in doesn't work WP, how to overcome this problem with mail chimp WP thanks

  24. You're setting up the configuration for Gmail but adding a email server id and password? What is the purpose of that?

  25. I tried, but it didnt work. This is what appears on my Test email WP Simple SMTP: SMTP ERROR: Failed to connect to server: (0)SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

  26. Hi, I'm sorry, I have a query with contact form 7.
    When sending a form, it is sent correctly but, from the mailing list to which it is sent, it only reaches a few but not all recipients. What could be happening? Thank you!

  27. Gmail isn't sending me the blocked sign-in attempt email – so I get to the point of the "SMTP connect() failed." and am stuck. Any workarounds?

  28. after submitting a form with contact form 7, it is taking a huge time to receive in inbox of gmail. please reply.. thanks

  29. Hi! how are you? im trying to send a test email and said me this:
    SMTP ERROR: Failed to connect to server: (0)SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    why is that? thank you!

  30. Hi, Im having some issues with CF7, I am recieving the first email, but the confirmation email do not reach the destination. ¿Could you tell why this happen?

  31. Hi, I use the contact form as a request of service, on the form there are many fields they have to complete and send. that is all working fine. the problem i'm having is, it's not sending all the information that was entered on the form. do you have a video that would help me fix that?

  32. I have many Contact 7 Forms which go to different departments in the company each with their own emails. How does this SMTP plug in for that???

  33. SMTP plugin didn't help me at all. But I figured out there might be an issue with Google reCAPTCHA, so I disabled it. And form WORKS AGAIN!

  34. Hello WPlearningLab Ive followed the steps mentioned in the video and I received the same error you've got "SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting " but when i opened my gmail inbox there is nothing from google which you've received..i did tried the allow less secure option from my google accounts dash board but still getting the same error message iam stuck at this for the past 4 days. please help

  35. my friend i get the message a lot "There was an error trying to send your message. Please try again later." then after refreshing the form then sends…it's frustrating because clients won't know that they have to keep refreshing. What could be the cause clearly it is not smtp issue because it eventually then sends. How do i fix this? by the way i am using contact form 7 to forward fields to a custom CRM/Leads system.

  36. Hi There,

    I am encountering this problem while sending a test mail 'SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting'. Could you please suggest me what should I do?

  37. Followed the steps and used one of my gmail account username and password as smtp username and password, But did not receive any email.

    SMTP ERROR: Failed to connect to server: Network is unreachable (101)SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

  38. The SMTP username I use a gmail for my WordPress account. What should I type in: My domain email or gmail?

  39. Tried for hours to no avail. Tried using my gmail email (test email NEVER sends to my gmail account) and my hotmail (test email also never sends) and neither work sadly. I get the following error message:

    SMTP ERROR: Failed to connect to server: (0)SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

  40. Thanks for all the videos Bjorn.
    I'm getting SMTP ERROR: Failed to connect to server: Network is unreachable (101)SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
    I am using a google account and have have done as advised, although the SSL & TLS are now combined into the same one option to tick, or SMARTTLS).
    After the test email, I do not get a warning message or email on my Gmail email account, have turned on 'allow less secure apps' in googles settings and waited a few days, with the same issue.
    Is there anything else I can try checking?

  41. Hello sir can you please make a playlist of all email related videos ❤️ by the way easy smtp doesn't work for people using shared server because theirs host block outgoing emails completely just make note of that

  42. I am very new at this. Do you send responses from your gmail account or is there a send button on the Mail tab from the Contact form. I don't see one.

  43. Thanks for the video, but this doesn't work for me. I set
    1. "
    From Email Address" – [email protected] (the SMTP for this email is not on Google/Gmail)
    2. "SMTP Host" – smtp.gmail.com
    3. "SMTP Username" – A Gmail account
    4. "SMTP Password" – the password for Gmail account.

    I even tried changing "From Email Address" to the same email account as the "SMTP Username".

    I kept getting the error SMTP ERROR: Failed to connect to server: (0)SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    Thank you!

  44. Hi, thanks for the video, but I have an issue with the CONTACT FORM 7 that the email setting of the contact form where it automatically shows"XXXX<[email protected]>", and I can't change it to my own website mail:(

  45. Thank you so much for this video. I followed your instructions, but never received a blocked message from Google after I received a failed test email message. Any thoughts on how to fix this? Thanks so much!

  46. Still i entered the same error which is; SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Leave a Reply

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

Back To Top