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

Fixed mutating content type from RelatedPart to MultiPart #195

Merged

Conversation

Jason-Morcos
Copy link
Contributor

Fixes: #194

I tried to write a test, but I can't find a way to check the Content-Type header content of the outgoing email. It appears to not be included in the headers on sent_emails.

Basically, mail-tracker was changing the Content-Type header from Content-Type: multipart/related;... to Content-Type: multipart/alternative;... for ALL RelatedPart messages. This likely impacts MixedPart too.

I also fixed the previously-broken test for RelatedPart messages that was blocking PR #190

This was caused by c9a3379 only half-fixing the issue mentioned in #172. That commit added support for those two types of message contents as inputs, but isn't properly handling them as outputs.

@jdavidbakr jdavidbakr merged commit 3c19383 into jdavidbakr:master Sep 7, 2022
@jdavidbakr
Copy link
Owner

Thanks!

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.

Emails with Embedded Images Broken in Apple Mail/iCloud Mail/iOS Mail
2 participants