Best answer

SMTP error: We hit an error adding your new account authentication failed: Connection unexpectedly closed

  • 30 May 2023
  • 6 replies
  • 368 views

Userlevel 1

Hello,

I try to connect my Yahoo mail account via SMTP by Zapier.

I’m following the pattern below but can’t succeed in having the connection done.

Can someone enlighten me about how to solve this issue?

 

The error message is:

We hit an error adding your new account

authentication failed: Connection unexpectedly closed

  1. Make sure you click "Allow" or "Accept" on the permission popup
  2. Double check your Account has the correct permissions
  3. Check out our help docs for more information

No permission pop up appeared.

Accounts credentials are correct.

 

Information I put:

Yahoo Mail SMTP server address

smtp.mail.yahoo.com

Yahoo Mail SMTP username

Your full Yahoo email address (including @yahoo.com)

Yahoo Mail SMTP password

Your Yahoo Mail password

Yahoo Mail SMTP port

465 or 587

Yahoo Mail SMTP TLS/SSL required 

yes
icon

Best answer by smfnft 2 June 2023, 18:41

View original

6 replies

Userlevel 1

Additional information, I’ve seen on other topics the port 465 is not reachable. hence, I’ve tried the 587 and it’s not working.

Userlevel 7
Badge +6

Hi there @smfnft,

Welcome to the Community! 🎉

I've done a little digging on this and it looks like the error you're seeing might have something to do with the empty "From" email. Can you try adding the correct "From" email for this step and see if that goes through?

d89b46ac61d0a139569e99ccfe36fe51.png
(view larger)

Please give that a try, and keep us posted! 😊

 

Userlevel 1

Hi @ken.a , thanks for the answer, I really appreciate you took some time to analyse the issue.

Unfortunately, even with my email address in the “From” field, I got the same error message.

 

“We hit an error adding your new account

authentication failed: Connection unexpectedly closed”

I’ve re-re-cheked the email address and password and they are OK.

 

Any other lead?

Thanks for your help.

Userlevel 7
Badge +6

Hi @smfnft,

Thanks for trying that out!

I’m not really familiar with SMTP setup, but what you can try is to set up the email mailbox in a desktop app such as Apple Mail or the equivalent app for Windows.

If you are still unable to connect to their email account through the desktop app, it could indicate a problem with the email account itself. However, if you can successfully connect it, it might suggest an issue with the SMTP app or a particular setting that has been selected.

Please keep us posted! 😊

Userlevel 1

Hi @ken.a , thanks for your answer. Actually, the email address works fine with a desktop app.

And I’ve a good news ! I found the solution.

To connect Yahoo to SMTP by Zapier, a third-party app password is needed.

Full procedure is here: https://help.yahoo.com/kb/SLN15241.html

I put below the steps:

  1. Sign in to your Yahoo Account Security page.
  2. Click Generate app password or Generate and manage app passwords.
  3. Enter your app's name in the text field.
  4. Click Generate password.
  5. Follow the instructions below the app password.
  6. Click Done.

Now it’s working fine, took me some time to figure that out, thanks @ken.a because your answers helped me keep the pace to dig into Yahoo documentation.

Hope this will help others.

Userlevel 7
Badge +6

Hi @smfnft,

That's awesome! I'm really happy to hear that you were able to resolve the issue.

Also, thank you for sharing your solution. This will be incredibly helpful for other wonderful members of our community who might encounter a similar problem.

If you have any other questions, please don’t hesitate to ask in the Community. We’re always happy to help! 🤗

Reply