plone / plone/plone.app.contentrules

Mail messages sent as plain text, doesn't allow html email

Open
#40 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2
Forks
13
Avg merge
1d 21h
Merged PRs (30d)
2

Description

Currently, the mail content rule just sends the message as plain text. This does not provide much opportunity for the author to format the email.

By creating a mime message before sending it would be possible to allow html email which could then be converted to a multipart message (and the text portion could be generated from portal_transforms).

To keep backwards compatibility, there could be a dropdown option on creating the content rule for the content type of the email, defaulting to plain text.

Contributor guide

Open the contributing guide

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

Start by locating the mail content rule and the portal_transforms integration mentioned in the issue, then inspect how the current plain-text message is built and sent. Done should include a backwards-compatible content-type choice, HTML support, and a multipart message with a generated text portion.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.