digitalfabrik / entitlementcard

App for 'Digitale Berechtigungskarten', generally benefit card for volunteers or socially vulnerable groups in Germany. App for Android & iOS + Backend + Administration Web Portal – 100% Open Source.
MIT License
36 stars 3 forks source link

Provide html mail templates #1374

Closed f1sh1918 closed 7 months ago

f1sh1918 commented 7 months ago

Is your feature request related to a problem? Please describe. Some mobile mail clients can not properly resolve links inside mails. Therefore we should provide the mails additionally as html.

Describe the solution you'd like

Additional context Mattermost discussion: https://chat.tuerantuer.org/digitalfabrik/pl/qyj9p93fr788dksjizgw7945mh

f1sh1918 commented 7 months ago

Just tested roughly by using withPlainText() and withHTMLText and using Content-Type multipart/alternative i faced issue with gmail. on my mac mail it was working properly. Maybe there was just some configuration missing to get it work. I hope we don't have to switch mail library

michael-markl commented 7 months ago

@f1sh1918 Have you also tested to use withPlainText() and withHTMLText() without adjusting the content type manually? I'd expect the library to take care of the content type stuff. 🤔

f1sh1918 commented 7 months ago

Looks like you are right @michael-markl. i just removed the header and it worked. So the task here is only about to add html mail templates