jeremy-compostella / org-msg

OrgMsg is a GNU/Emacs global minor mode mixing up Org mode and Message mode to compose and reply to emails in a Outlook HTML friendly style.
GNU General Public License v3.0
276 stars 56 forks source link

Proper way to inject css #174

Open pseudomyne opened 9 months ago

pseudomyne commented 9 months ago

Hi, I fail to inject some css in my emails.

I have (setq org-msg-enforce-css org-msg-default-style) Preview is formated correctly (C-c C-e), but once sent to gmail, it won’t render as such.

I have tried to play with some org export options like org-html-head-include-default-style t / nil and org-html-html5-fancy t / nil with no result.

I also tried to inject external css with#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="/home/me/style.css"/>, Again it's ok within the preview, but won’t be sent through mail. What options do I miss here ?

@mclearc : would you mind sharing your (whole) config options ?