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

Failed to send notification email - Unrecognized authentication type #209

Closed
mnl1121 opened this issue Jul 20, 2018 · 14 comments
Closed

Failed to send notification email - Unrecognized authentication type #209

mnl1121 opened this issue Jul 20, 2018 · 14 comments

Comments

@mnl1121
Copy link

mnl1121 commented Jul 20, 2018

Upon first run I'm getting the following error. I searched and found other email failure errors, but not this one.

Failed to send notification email: 504 5.7.4 Unrecognized authentication type [DF4PR8401CA0017.NAMPRD84.PROD.OUTLOOK.COM]

Here are my container settings. I'm using my email in each of the email fields and the password is an app password. Not sure what's wrong.

docker run -d \
  --name watchtower \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -e WATCHTOWER_NOTIFICATIONS=email \
  -e WATCHTOWER_NOTIFICATION_EMAIL_FROM=xxxxx \
  -e WATCHTOWER_NOTIFICATION_EMAIL_TO=xxxx \
  -e WATCHTOWER_NOTIFICATION_EMAIL_SERVER=smtp.office365.com \
  -e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587 \
  -e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=xxxxxx \
  -e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=xxxxxxx \
  v2tec/watchtower -i 43200
@Darkheir
Copy link

I'm having the same issue with smtp.office365.com too.

@mnl1121
Copy link
Author

mnl1121 commented Jul 29, 2018

This issue still isn't resolved. Any ideas?

@Darkheir
Copy link

Maybe the porject should use an external email library instead of implementing a sendemail method on top of the SMTP lib.

This would allow to handle more email functionalities.

@danielwbn
Copy link

I have the same problem with WATCHTOWER_NOTIFICATION_EMAIL_SERVER=smtp.live.com

@mnl1121
Copy link
Author

mnl1121 commented Aug 31, 2018

Notification emails work with Gmail, but not Outlook. Please add outlook support!

@simskij simskij added the Type: Bug Unintended behavior label Apr 7, 2019
@simskij
Copy link
Member

simskij commented Apr 7, 2019

Unsure whether this is still an issue. Could someone please confirm? Thanks! 🙏

@simskij
Copy link
Member

simskij commented Apr 13, 2019

Closing due to lack of response.

@simskij simskij closed this as completed Apr 13, 2019
@Hazy87
Copy link

Hazy87 commented Apr 23, 2019

Yes this is still an issue,

@mnl1121
Copy link
Author

mnl1121 commented Apr 23, 2019 via email

@simskij simskij reopened this Apr 23, 2019
@simskij
Copy link
Member

simskij commented Apr 25, 2019

Email handling will be reimplemented as part of the notification overhaul (#264).
I'm not gonna put any effort into solving this bug until that work is completed.

@zyystudio
Copy link

any update on this?

@mnl1121
Copy link
Author

mnl1121 commented Jun 10, 2023

any update on this?
I've been using Gmail ever since and haven't tried outlook. Looks like the notification overhaul has been completed so Outlook may be working now? Have you given it a try?

@piksel
Copy link
Member

piksel commented Jun 11, 2023

None of the implemented authentication methods in the go stdlib email client are supported by outlook/office365. Tracked upstream in shoutrrr#334.

@zyystudio
Copy link

Thanks for the update! Any plan to implement?

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

No branches or pull requests

7 participants