-
Notifications
You must be signed in to change notification settings - Fork 10
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
fix: MIME type for HTML emails #886
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #886 +/- ##
=======================================
Coverage 98.00% 98.00%
=======================================
Files 444 444
Lines 35420 35420
=======================================
Hits 34712 34712
Misses 708 708
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #886 +/- ##
=======================================
Coverage 98.00% 98.00%
=======================================
Files 444 444
Lines 35420 35420
=======================================
Hits 34712 34712
Misses 708 708
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅ @@ Coverage Diff @@
## main #886 +/- ##
=======================================
Coverage 98.00% 98.00%
=======================================
Files 444 444
Lines 35420 35420
=======================================
Hits 34712 34712
Misses 708 708
Flags with carried forward coverage won't be shown. Click here to find out more.
|
✅ All tests successful. No failed tests were found. 📣 Thoughts on this report? Let Codecov know! | Powered by Codecov |
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #886 +/- ##
=======================================
Coverage 98.00% 98.00%
=======================================
Files 444 444
Lines 35420 35420
=======================================
Hits 34712 34712
Misses 708 708
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@@ -79,7 +79,7 @@ def test_send_email_integration( | |||
"", | |||
] | |||
assert mail_body[7:-1] == [ | |||
'Content-Type: text/text/html; charset="utf-8"', |
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.
buh
Our emails were adding an extra
text/
to thetext/html
MIME type on our emails, causing only the text content to display in gmail web client (though mailhog handled this fine interestingly).Also adds "Codecov" as the display name for our emails.