ui / ui/django-post_office

Attachments do not work with HTML-only emails

Open
#116 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.1k
Forks
278
Avg merge
6h 12m
Merged PRs (30d)
8

Description

Today I made an interesting discovery. If you create a HTML-only email, it can be sent.
If, in addition to that HTML-only email you add one or more attachments, no text is shown in the email's body.
If you then add some arbitrary plain text, the email is rendered correctly again.
Could someone please verify this assertion. If so, then maybe some addition checks, or a HTML-to-text converter should be added.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported case with an HTML-only email and one or more attachments, then compare it with the same message containing arbitrary plain text. The issue is done when the HTML body remains visible when attachments are present, with behavior verified by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.