You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ?
The text was updated successfully, but these errors were encountered:
As far as I know, email clients can't/won't use <link> for styling, and I think even file-local <style> is ignored by some if not most. org-msg uses the style property list defined in org-msg-default-style to inline styles in every html element that needs them (like <pre style="background:black">). (org-msg-default-style use your current emacs theme to set colors!)
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 andorg-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 ?
The text was updated successfully, but these errors were encountered: