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

SMTP office365 email not sent #532

Open
davidbonachera opened this Issue Sep 12, 2018 · 5 comments

Comments

Projects
None yet
3 participants
@davidbonachera

davidbonachera commented Sep 12, 2018

Hi there,

So I tried to use my office365 smtp by setting off my parameter like this :

- EMAIL_SMTP_HOST=smtp.office365.com
- EMAIL_SMTP_PORT=587
- EMAIL_SMTP_USERNAME=email@aaa.com
- EMAIL_SMTP_PASSWORD=Ipassword

But usually it requires TLS encryption, so I tried to add an encryption method :

- EMAIL_SMTP_ENCRYPTION=tls

But still, no e-mail are being sent.

There's no SMTP error in a dev environment inside the docker log, any idea how to debug this situation ? (i'm not an expert in go)

Tks in advance,

@goenning

This comment has been minimized.

Show comment
Hide comment
@goenning

goenning Sep 12, 2018

Member

After some research I found out that Go stdlib net/smtpdoesn’t support Office365 out of the box. We’ll need use an external package or implement it ourselves.

For reference: https://gist.github.com/homme/22b457eb054a07e7b2fb

Member

goenning commented Sep 12, 2018

After some research I found out that Go stdlib net/smtpdoesn’t support Office365 out of the box. We’ll need use an external package or implement it ourselves.

For reference: https://gist.github.com/homme/22b457eb054a07e7b2fb

@chansuke

This comment has been minimized.

Show comment
Hide comment
@chansuke

chansuke Oct 2, 2018

I'd like to pick this up:-)

chansuke commented Oct 2, 2018

I'd like to pick this up:-)

@goenning

This comment has been minimized.

Show comment
Hide comment
@goenning

goenning Oct 2, 2018

Member

@chansuke you’re more than welcome! 😀

Member

goenning commented Oct 2, 2018

@chansuke you’re more than welcome! 😀

@goenning

This comment has been minimized.

Show comment
Hide comment
@goenning

goenning Oct 2, 2018

Member

I forgot to mention that if you need anything, don't hesitate to ask! I can't promise an answer to all questions, but will do my best!

Member

goenning commented Oct 2, 2018

I forgot to mention that if you need anything, don't hesitate to ask! I can't promise an answer to all questions, but will do my best!

@chansuke

This comment has been minimized.

Show comment
Hide comment
@chansuke

chansuke commented Oct 3, 2018

@goenning thanks!!!

oxynux added a commit to oxynux/fider that referenced this issue Oct 19, 2018

Add support for SMTP LOGIN auth
- This commit allow support of Office 365
- Add EMAIL_SMTP_AUTH_LOGIN option to environment configuration file
- Closes getfider#532

EMAIL_SMTP_AUTH_LOGIN can be set to 1 or 0 (default is 0).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment