toni Posted January 7 Share Posted January 7 Hello everyone, I'm not sure where this post fits best. I hope here is okay. I am planning to implement a newsletter with ProMailer. As far as I understand, ProMailer sends an existing page, which means that the page can be used for sending and for viewing in the browser, correct? My idea was to write 90's table markup as newsletter clients are very picky. However, the documentation names Foundation for Emails MJML (Mail Jet Markup Language) Maizzle Cerberus as possible (CSS) frameworks. My question is, does anyone have experience with one of them? Can one of them be used to use markup for the browser and email client at the same time? Is one perhaps used for the Processwire newsletter? Best regards Toni Link to comment Share on other sites More sharing options...
monollonom Posted January 7 Share Posted January 7 You can try to use my module https://processwire.com/modules/page-mjml-to-html/ It allows you to write your newsletter’s template using the MJML syntax and get it converted into proper HTML when viewing a page (and also when sending via ProMailer). Please have a look and if you happen to have an issue, don’t hesitate to share it here Link to comment Share on other sites More sharing options...
toni Posted January 7 Author Share Posted January 7 Oh wow @monollonom thanks you so much! But from what I read I then are forced to use Mailjet? As I will need an API key? I already have a mailserver in place that I would use for sendout. Link to comment Share on other sites More sharing options...
monollonom Posted January 7 Share Posted January 7 Fortunately you don’t have to use Mailjet to receive and use a MJML API key 🙂 You just have to give your email address to receive your API key and that’s it. For now it’s free and it’s been so for a while, let’s hope it stays that way. Link to comment Share on other sites More sharing options...
toni Posted January 7 Author Share Posted January 7 ah great good news! thanks will give it a try! 1 Link to comment Share on other sites More sharing options...
SamanthaWalker Posted January 8 Share Posted January 8 (edited) On 1/7/2025 at 12:40 PM, toni said: Hello everyone, I'm not sure where this post fits best. I hope here is okay. I am planning to implement a newsletter with ProMailer. As far as I understand, ProMailer sends an existing page, which means that the page can be used for sending and for viewing in the browser, correct? My idea was to write 90's table markup as newsletter clients are very picky. However, the documentation names Foundation for Emails MJML (Mail Jet Markup Language) Maizzle Cerberus as possible (CSS) frameworks. My question is, does anyone have experience with one of them? Can one of them be used to use markup for the browser and email client at the same time? Is one perhaps used for the Processwire newsletter? Best regards Toni How is everything now? Edit: Have you tried? Edited yesterday at 06:34 AM by SamanthaWalker Link to comment Share on other sites More sharing options...
toni Posted 5 hours ago Author Share Posted 5 hours ago Hi @SamanthaWalker In the end I took an easy path and ended up with two templates. One for mail sending which is actually a cerberus markup and another for web rendering with common browser css. I choose the one or the other based on the get var processwire automaticully sets with promailer. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now