{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/8307","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/8307/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/8307/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/8307/events","html_url":"https://github.com/yiisoft/yii2/issues/8307","id":73772400,"number":8307,"title":"Mailer not wrap all method swiftmailer","user":{"login":"zinzinday","id":441560,"avatar_url":"https://avatars.githubusercontent.com/u/441560?v=3","gravatar_id":"","url":"https://api.github.com/users/zinzinday","html_url":"https://github.com/zinzinday","followers_url":"https://api.github.com/users/zinzinday/followers","following_url":"https://api.github.com/users/zinzinday/following{/other_user}","gists_url":"https://api.github.com/users/zinzinday/gists{/gist_id}","starred_url":"https://api.github.com/users/zinzinday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zinzinday/subscriptions","organizations_url":"https://api.github.com/users/zinzinday/orgs","repos_url":"https://api.github.com/users/zinzinday/repos","events_url":"https://api.github.com/users/zinzinday/events{/privacy}","received_events_url":"https://api.github.com/users/zinzinday/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yiisoft/yii2/labels/feature:mailer","name":"feature:mailer","color":"bfd4f2"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-06T23:42:27Z","updated_at":"2015-05-07T09:42:48Z","closed_at":"2015-05-07T09:21:04Z","body":"```\r\nYii::$app->mailer->compose('view')->setPriority(5);\r\n```\r\n```\r\nCalling unknown method: yii\\swiftmailer\\Message::setPriority()\r\n```\r\nsee: [priority](http://swiftmailer.org/docs/messages.html#setting-the-message-priority)\r\n\r\nPlease review and addition method,\r\ni want to use yii2 wrap Mailler and not direct from @vendor/swiftmailer"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/99796267","html_url":"https://github.com/yiisoft/yii2/issues/8307#issuecomment-99796267","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/8307","id":99796267,"user":{"login":"zinzinday","id":441560,"avatar_url":"https://avatars.githubusercontent.com/u/441560?v=3","gravatar_id":"","url":"https://api.github.com/users/zinzinday","html_url":"https://github.com/zinzinday","followers_url":"https://api.github.com/users/zinzinday/followers","following_url":"https://api.github.com/users/zinzinday/following{/other_user}","gists_url":"https://api.github.com/users/zinzinday/gists{/gist_id}","starred_url":"https://api.github.com/users/zinzinday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zinzinday/subscriptions","organizations_url":"https://api.github.com/users/zinzinday/orgs","repos_url":"https://api.github.com/users/zinzinday/repos","events_url":"https://api.github.com/users/zinzinday/events{/privacy}","received_events_url":"https://api.github.com/users/zinzinday/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T09:42:48Z","updated_at":"2015-05-07T09:42:48Z","body":"Thanks @cube"}}