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

feat: use gomail for shoutrrr SMTP #556

Merged
merged 2 commits into from
Sep 18, 2023
Merged

feat: use gomail for shoutrrr SMTP #556

merged 2 commits into from
Sep 18, 2023

Conversation

adityathebe
Copy link
Member

Resolves: #551

if properties != nil {
params = (*types.Params)(&allProps)
}

// NOTE: Until shoutrrr fixes the "UseHTML" props, we'll use the mailer package
if service == "smtp" {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But now this doesn't work for smtp://system ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does. At this point in code, the url is never smtp://system. It's already prepopulated. https://github.com/flanksource/incident-commander/blob/cf47ca1327b40638ce8e569691c270d3d6364723/notification/shoutrrr.go#L54-L60

@adityathebe
Copy link
Member Author

adityathebe commented Sep 18, 2023

Shoutrrr PR that fixes UseHTML properties: containrrr/shoutrrr#388

@moshloop moshloop merged commit 7db359b into main Sep 18, 2023
@moshloop moshloop deleted the fix/smtp-shoutrrr branch September 18, 2023 06:59
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

Successfully merging this pull request may close these issues.

Email notifications html comes through as plain text
2 participants