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

Inline the CSS from a newsletter template before sending #6558

Merged
merged 7 commits into from Jan 2, 2024

Conversation

leofeyer
Copy link
Member

Implements #6193

I have added a mail_responsive template that is based on https://github.com/tijsverkoyen/CssToInlineStyles and can be used as a starting point for own templates. Here is how it looks:

Back end

Inbox preview with preheader text

Message in Apple Mail

@leofeyer leofeyer self-assigned this Nov 24, 2023
@leofeyer leofeyer added this to the 5.3 milestone Nov 24, 2023
@leofeyer leofeyer requested a review from a team November 24, 2023 11:19
@leofeyer leofeyer linked an issue Nov 24, 2023 that may be closed by this pull request
@leofeyer leofeyer force-pushed the feature/newsletter-inline-css branch from 6bd96c5 to 40ef527 Compare November 24, 2023 11:25
@leofeyer leofeyer force-pushed the feature/newsletter-inline-css branch 2 times, most recently from 6a63bf9 to be86216 Compare January 2, 2024 16:27
@leofeyer leofeyer force-pushed the feature/newsletter-inline-css branch from be86216 to f2dacc0 Compare January 2, 2024 16:32
@leofeyer leofeyer merged commit 14b060b into contao:5.x Jan 2, 2024
16 checks passed
@leofeyer leofeyer deleted the feature/newsletter-inline-css branch January 2, 2024 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fully support newsletter templates
1 participant