HTML is typically stripped out of messages went through the mailing list by default to prevent spam and ensure compatibility with text-based email clients. However, if you want to allow HTML messages, you’ll need to adjust the content filtering settings.
Steps to Allow HTML Emails in Mailing Lists:
-
Log in to the Mailing List Interface
- Access mailing list under "Email" -> "Mailing Lists", then "manage".
-
Navigate to Content Filtering Settings
- Click on Privacy options → Sender filters.
- Ensure that "Action to take for postings from non-members" is set appropriately (e.g., accept or hold).
-
Allow HTML Content
- Go to Content filtering settings.
- Find the option "Should Mailman filter the content of list traffic?" and set it to No if you want to allow all content types.
- If you want filtering but wish to allow HTML, set this option to Yes, and then adjust the settings below.
-
Configure Allowed MIME Types
- In the "Remove message attachments that don’t have a matching content type", ensure that
text/html
is included in the "pass_mime_types" list. - Example of allowed MIME types:
- This allows both plain text and HTML emails while filtering out unwanted attachments.
- In the "Remove message attachments that don’t have a matching content type", ensure that
-
Adjust Scrubbing and Formatting Settings
- Set "Should Mailman convert text/html parts to plain text?" to No if you want HTML to be preserved.
- Adjust the "Collapse multipart/alternative to its first part content" setting as needed (setting it to No helps preserve HTML messages).
-
Save Changes
- Scroll down and click Submit Your Changes.