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

Use multipart to send text and HTML emails #3

Merged
merged 9 commits into from
Aug 18, 2024
Merged

Use multipart to send text and HTML emails #3

merged 9 commits into from
Aug 18, 2024

Conversation

ben-z
Copy link
Member

@ben-z ben-z commented Aug 18, 2024

The message shows up as plain text:

image

This PR fixes this issue by using MIMEMultipart to send emails.

Result

outlook
image

apple mail
image

Doesn't look the best in apple mail. But I couldn't immediately see how to fix it. Not a big issue anyway.

@ben-z ben-z merged commit a903360 into main Aug 18, 2024
1 check passed
@ben-z ben-z deleted the benz/multipart branch August 18, 2024 18:40
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.

1 participant