-
Notifications
You must be signed in to change notification settings - Fork 136
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: support email SendHtml #30
Conversation
Codecov Report
@@ Coverage Diff @@
## master #30 +/- ##
==========================================
- Coverage 46.84% 46.71% -0.13%
==========================================
Files 26 26
Lines 1456 1460 +4
==========================================
Hits 682 682
- Misses 626 630 +4
Partials 148 148
Continue to review full report at Codecov.
|
pkg/services/email.go
Outdated
@@ -56,6 +56,7 @@ type EmailOptions struct { | |||
Username string `json:"username"` | |||
Password string `json:"password"` | |||
From string `json:"from"` | |||
SendHtml bool `json:"sendHtml"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change it to just html
please? I think send
is redundant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for reviewing.
I was thinking whether to use html
or sendHtml
, indeed it is redundant so I have changed to html
.
Signed-off-by: Ryota Sakamoto <sakamo.ryota+github@gmail.com>
25a79a9
to
4a91a7e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Signed-off-by: Ryota Sakamoto sakamo.ryota+github@gmail.com