{"action":"created","issue":{"url":"https://api.github.com/repos/nickcv-ln/yii2-mandrill/issues/12","labels_url":"https://api.github.com/repos/nickcv-ln/yii2-mandrill/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/nickcv-ln/yii2-mandrill/issues/12/comments","events_url":"https://api.github.com/repos/nickcv-ln/yii2-mandrill/issues/12/events","html_url":"https://github.com/nickcv-ln/yii2-mandrill/issues/12","id":90984010,"number":12,"title":"HTML message body does not include layouts","user":{"login":"hdogan","id":777820,"avatar_url":"https://avatars.githubusercontent.com/u/777820?v=3","gravatar_id":"","url":"https://api.github.com/users/hdogan","html_url":"https://github.com/hdogan","followers_url":"https://api.github.com/users/hdogan/followers","following_url":"https://api.github.com/users/hdogan/following{/other_user}","gists_url":"https://api.github.com/users/hdogan/gists{/gist_id}","starred_url":"https://api.github.com/users/hdogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hdogan/subscriptions","organizations_url":"https://api.github.com/users/hdogan/orgs","repos_url":"https://api.github.com/users/hdogan/repos","events_url":"https://api.github.com/users/hdogan/events{/privacy}","received_events_url":"https://api.github.com/users/hdogan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-25T14:41:06Z","updated_at":"2015-06-25T15:54:40Z","closed_at":null,"body":"As title describes, HTML body of the message only contains view file of the mail. Layouts are not rendered."},"comment":{"url":"https://api.github.com/repos/nickcv-ln/yii2-mandrill/issues/comments/115302520","html_url":"https://github.com/nickcv-ln/yii2-mandrill/issues/12#issuecomment-115302520","issue_url":"https://api.github.com/repos/nickcv-ln/yii2-mandrill/issues/12","id":115302520,"user":{"login":"nickcv-ln","id":8384804,"avatar_url":"https://avatars.githubusercontent.com/u/8384804?v=3","gravatar_id":"","url":"https://api.github.com/users/nickcv-ln","html_url":"https://github.com/nickcv-ln","followers_url":"https://api.github.com/users/nickcv-ln/followers","following_url":"https://api.github.com/users/nickcv-ln/following{/other_user}","gists_url":"https://api.github.com/users/nickcv-ln/gists{/gist_id}","starred_url":"https://api.github.com/users/nickcv-ln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickcv-ln/subscriptions","organizations_url":"https://api.github.com/users/nickcv-ln/orgs","repos_url":"https://api.github.com/users/nickcv-ln/repos","events_url":"https://api.github.com/users/nickcv-ln/events{/privacy}","received_events_url":"https://api.github.com/users/nickcv-ln/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T15:54:40Z","updated_at":"2015-06-25T15:54:40Z","body":"mandrill is probably getting rid of that stuff as soon as it receives it.\r\nYou shouldn't be relying on them anyway because most mail clients strip them.\r\n\r\nIf you want to you can refer to [this guide](http://kb.mailchimp.com/templates/code/common-html-mistakes)\r\n\r\n\r\n> CSS Used Incorrectly\r\n\r\n> Most email applications strip HEAD and BODY tags from incoming email to keep embedded CSS from interfering with their page CSS. We recommend you use  inline CSS or that you embed your CSS just above your content below the <BODY> tag.\r\n\r\n"}}