Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot send via yahoo or Google SMTP servers #17

Closed
jamiehiggins opened this issue Oct 7, 2019 · 8 comments
Closed

Cannot send via yahoo or Google SMTP servers #17

jamiehiggins opened this issue Oct 7, 2019 · 8 comments

Comments

@jamiehiggins
Copy link

jamiehiggins commented Oct 7, 2019

When I configure the library to user SMTP server from Yahoo or Google, the sending fails.

I am using Yahoo configuration settings from here: https://help.yahoo.com/kb/SLN4724.html

When using port 465 I get the following error:
Failed to send email to: abc@xyz.com: javax.mail.AuthenticationFailedException: 535 5.7.0 (#AUTH005) Too many bad auth attempts..

When using port 587 I get the following error:
Failed to send email to: abc@xyz.com: com.sun.mail.smtp.SMTPSendFailedException: 450 Requested mail action not taken: mailbox unavailable.

@jamiehiggins
Copy link
Author

Apologies this is not an issue with the library but an extra security step by Yahoo. I needed to setup an app password and then I was able to send via the library.

https://help.yahoo.com/kb/SLN15241.html

The same is true for Gmail and I was able to send via the gmail smtp server as well.

@nedimf
Copy link
Owner

nedimf commented Oct 9, 2019

No worries ,I see you have been using this library a lot,so if you are building app that you will publish later I would like to put your app in show case section of the library. Keep it up with great work 👊

@jamiehiggins
Copy link
Author

The app is already live and has existed for years. I'm happy for you to add it to the showcase section: https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid

@nedimf
Copy link
Owner

nedimf commented Oct 10, 2019

Thank you very much,I ll add it as soon as possible 🙏

@nedimf
Copy link
Owner

nedimf commented Oct 10, 2019

Damn,I just saw number of downloads on your app and I have download that app too.Congratulations man I am really glad such app uses this library. 🎉

@jamiehiggins
Copy link
Author

Well thanks to you I finally got around to adding the STMP email feature. This is only a spare time side project (albeit one that has spanned many years) so I always put off adding SMTP support because it seemed too much effort with no simple libraries until now!

@deepalitech9
Copy link

What could be the app name if we are sending it through automation script?

@nedimf
Copy link
Owner

nedimf commented Apr 29, 2021

@deepalitech9 can you elaborate on your question more? What are you trying to achieve?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants