{"action":"created","issue":{"url":"https://api.github.com/repos/phpList/phplist3/issues/57","repository_url":"https://api.github.com/repos/phpList/phplist3","labels_url":"https://api.github.com/repos/phpList/phplist3/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/phpList/phplist3/issues/57/comments","events_url":"https://api.github.com/repos/phpList/phplist3/issues/57/events","html_url":"https://github.com/phpList/phplist3/issues/57","id":148999939,"number":57,"title":"Add mail processor which inlines CSS before sending","user":{"login":"liayn","id":222377,"avatar_url":"https://avatars.githubusercontent.com/u/222377?v=3","gravatar_id":"","url":"https://api.github.com/users/liayn","html_url":"https://github.com/liayn","followers_url":"https://api.github.com/users/liayn/followers","following_url":"https://api.github.com/users/liayn/following{/other_user}","gists_url":"https://api.github.com/users/liayn/gists{/gist_id}","starred_url":"https://api.github.com/users/liayn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liayn/subscriptions","organizations_url":"https://api.github.com/users/liayn/orgs","repos_url":"https://api.github.com/users/liayn/repos","events_url":"https://api.github.com/users/liayn/events{/privacy}","received_events_url":"https://api.github.com/users/liayn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-17T21:44:47Z","updated_at":"2016-04-18T11:28:28Z","closed_at":null,"body":"Any meaningful marketing mail sent today is basically forced to inline CSS in order to deliver the expected view experience in the vast variety of mail clients.\r\n\r\nCurrently an editor can create a new newsletter in the wysiwyg editor (eg TinyMCE). Even if the template itself already uses proper inlined CSS, the content created by the editor still does not get the inlined CSS of course. (eg headings, hr, etc)\r\n\r\nI would really appreciate if you could include such a functionality. Some possible PHP implementations (looking rather up to date) for inlining are:\r\n- https://github.com/jjriv/emogrifier\r\n- https://github.com/christiaan/InlineStyle\r\n- https://github.com/tijsverkoyen/CssToInlineStyles/\r\n\r\nLooking forward to your feedback on that matter.\r\nThanks"},"comment":{"url":"https://api.github.com/repos/phpList/phplist3/issues/comments/211338603","html_url":"https://github.com/phpList/phplist3/issues/57#issuecomment-211338603","issue_url":"https://api.github.com/repos/phpList/phplist3/issues/57","id":211338603,"user":{"login":"bramley","id":3147688,"avatar_url":"https://avatars.githubusercontent.com/u/3147688?v=3","gravatar_id":"","url":"https://api.github.com/users/bramley","html_url":"https://github.com/bramley","followers_url":"https://api.github.com/users/bramley/followers","following_url":"https://api.github.com/users/bramley/following{/other_user}","gists_url":"https://api.github.com/users/bramley/gists{/gist_id}","starred_url":"https://api.github.com/users/bramley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bramley/subscriptions","organizations_url":"https://api.github.com/users/bramley/orgs","repos_url":"https://api.github.com/users/bramley/repos","events_url":"https://api.github.com/users/bramley/events{/privacy}","received_events_url":"https://api.github.com/users/bramley/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T11:28:28Z","updated_at":"2016-04-18T11:28:28Z","body":"You might want to look at the Content Areas plugin, which supports inlining CSS https://resources.phplist.com/plugin/contentareas#inline_css_styles. The inlining can be done by Premailer https://github.com/crossjoin/PreMailer as well as emogrifier."}}