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

No onFail callback for an invalid SMTP server address or port #13

Closed
jamiehiggins opened this issue Aug 30, 2019 · 4 comments
Closed

No onFail callback for an invalid SMTP server address or port #13

jamiehiggins opened this issue Aug 30, 2019 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@jamiehiggins
Copy link

If I attempt to send an email to an invalid SMTP server address or port, I never see the onCompleteCallback being called.

To Reproduce

  1. Configure a MaildroidX builder with an invalid SMTP address (e.g. dummy.smtp.com) and all other details correct.
  2. Call mail() to attempt to send the email

Expected behavior
onFail() should be called with an appropriate errorString

@nedimf
Copy link
Owner

nedimf commented Aug 30, 2019

Increase timeout to more then 5 seconds. Java Mail API takes time to identify connection problem.

@jamiehiggins
Copy link
Author

I have been using a 7 second timeout. I will try with higher values.

@nedimf
Copy link
Owner

nedimf commented Aug 30, 2019

If you need more help be free to add me on Gitter https://gitter.im/maildroid/community

@nedimf
Copy link
Owner

nedimf commented Aug 30, 2019

Can you provide information if that timeout increase worked?

@nedimf nedimf added the help wanted Extra attention is needed label Aug 30, 2019
@nedimf nedimf closed this as completed Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants