my name is Thomas. My Company and I have been working with Zammad since v2.4.
We have a problem regarding the font size and type in the e-mails of Zammad. Our company has a restriction of corporate design for the e-mails. In Outlook 2013 and above the font type is set to Arial 12px. Outlook 2010 is using Sans-Serif 12px. I want the font and the size to have a set standard of Arial 10 px.
The font and size in the ticket system itself is ok and doesn’t need to be changed.
Is there a way to set the global setting for the e-mails to Arial 10px?
Hi @Thomas - welcome to the community! There is actually an advanced setting without a UI for it that enables this functionality. Just open the Zammad rails console and run Setting.get('html_email_css_font') to get the current default value and Setting.set('html_email_css_font', "font-family: ....") to change it.
The changes proposed by @YosefAdPro would work too but are not update save and overwritten the next time you update your Zammad. Anyway, huge thanks to you @YosefAdPro for helping people out! Maybe you can profit from the html_email_css_font Setting as well
With Outlook your are right.
We tested everything as a Docker container with version 2.9.0 and we solved it that way. Outlook had no problems with the e-mails sent over it.
In Outlook 2013, there is no way to export an eml file.
When I click Show source in Outlook it actually looks right … https://rs.bendergruppe.com:5001/d/f/502682065504878395
I found the mistake and a workaround for us.
In the header and in the body was always a symicolon too much. body {body
font-family: Arial; font-size: 14.5px ;;
}
Now after I have used Setting.set (‘html_email_css_font’, ‘font-family: Arial; font-size: 14.5px’), so no extra symicolon behind the font-size: 14.5px, the correct font and size is also displayed in Outlook.