9
Views
3
Comments
Email background dark mode problem
Question

Hi Guys!

I'm sending e-mails from the OS platform, when I receive them on my apple mail that is in dark mode the background is dark. I want to set the background always in white because of some images in the email. Any tips on how to do this?

Rank: #473

I have seen this part of code but I don't know how to add this to the head tag:


<meta name="color-scheme" content="only">
Rank: #67

Hi freek,


To inject a metadata in your HTML, you just need to call it on the Preparation, the action AddMetaTag from HTTPRequestHandler:


Hope it helps.


Cheers,
João

Rank: #473

Hi Joao,

Adding meta tags in emails seems not to be working. When debugging I do not get a error but the email is not beeing send.