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

Update the gomail package to overcome connection issues in the mail notifier #643

Open
flucrezia opened this issue Jun 30, 2021 · 0 comments
Labels

Comments

@flucrezia
Copy link

FEATURE

Email notifier: update mail package from
gopkg.in/gomail.v2
to
gopkg.in/mail.v2 (https://github.com/go-mail/mail)
which is an active fork of the one currently used.

Summary

The current gomail package and smtp package used to try dial connections and to send emails for notification do not work with many, many email provider, included Office365 and others.

Main idea
Simply update the mail package and remove the tryDial() which involves lower level smtp package.

Details

TCP connection in tryDial() hangs for a long long time...With many providers.
Moving to gopkg.in/mail.v2 will solve the issue thanks to an inner timeout.

@flucrezia flucrezia changed the title Update the gomail package to overcome connection issues within the mail notifier Update the gomail package to overcome connection issues in the mail notifier Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant