{"action":"closed","issue":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/7659","labels_url":"https://api.github.com/repos/cakephp/cakephp/issues/7659/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/7659/comments","events_url":"https://api.github.com/repos/cakephp/cakephp/issues/7659/events","html_url":"https://github.com/cakephp/cakephp/issues/7659","id":115700574,"number":7659,"title":"mail priority","user":{"login":"lecas93","id":7432794,"avatar_url":"https://avatars.githubusercontent.com/u/7432794?v=3","gravatar_id":"","url":"https://api.github.com/users/lecas93","html_url":"https://github.com/lecas93","followers_url":"https://api.github.com/users/lecas93/followers","following_url":"https://api.github.com/users/lecas93/following{/other_user}","gists_url":"https://api.github.com/users/lecas93/gists{/gist_id}","starred_url":"https://api.github.com/users/lecas93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lecas93/subscriptions","organizations_url":"https://api.github.com/users/lecas93/orgs","repos_url":"https://api.github.com/users/lecas93/repos","events_url":"https://api.github.com/users/lecas93/events{/privacy}","received_events_url":"https://api.github.com/users/lecas93/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/65","html_url":"https://github.com/cakephp/cakephp/milestones/3.1.5","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/65/labels","id":1396949,"number":65,"title":"3.1.5","description":"Bugfixes and optimizations for 3.1.x","creator":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":6,"state":"open","created_at":"2015-11-06T03:58:46Z","updated_at":"2015-11-08T02:34:38Z","due_on":"2015-11-28T05:00:00Z","closed_at":null},"comments":1,"created_at":"2015-11-07T23:54:00Z","updated_at":"2015-11-08T02:34:38Z","closed_at":"2015-11-08T02:34:38Z","body":"how to use custom header on mail class in v3.1 ?\r\nI tested\r\n->addHeaders([\r\n                           \"X-Priority\"=>\" 1 (Highest)\\n\",\r\n                           \"X-MSMail-Priority\"=>\"High\\n\",\r\n                           \"Importance\"=>\"High\\n\"\r\n                       ])\r\n\r\nleandrofreire [9:34 PM]\r\n->headers([\r\n                           \"X-Priority\"=>\" 1 (Highest)\\n\",\r\n                           \"X-MSMail-Priority\"=>\"High\\n\",\r\n                           \"Importance\"=>\"High\\n\"\r\n                       ])\r\n\r\nreturn Error: Call to undefined method Cake\\Mailer\\Email::headers() "}}