{"action":"created","issue":{"url":"https://api.github.com/repos/bryglen/yii2-sendgrid/issues/4","repository_url":"https://api.github.com/repos/bryglen/yii2-sendgrid","labels_url":"https://api.github.com/repos/bryglen/yii2-sendgrid/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/bryglen/yii2-sendgrid/issues/4/comments","events_url":"https://api.github.com/repos/bryglen/yii2-sendgrid/issues/4/events","html_url":"https://github.com/bryglen/yii2-sendgrid/issues/4","id":89563855,"number":4,"title":"Error: Class 'SendGrid\\Email' not found","user":{"login":"bureddysantosh","id":9126089,"avatar_url":"https://avatars.githubusercontent.com/u/9126089?v=3","gravatar_id":"","url":"https://api.github.com/users/bureddysantosh","html_url":"https://github.com/bureddysantosh","followers_url":"https://api.github.com/users/bureddysantosh/followers","following_url":"https://api.github.com/users/bureddysantosh/following{/other_user}","gists_url":"https://api.github.com/users/bureddysantosh/gists{/gist_id}","starred_url":"https://api.github.com/users/bureddysantosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bureddysantosh/subscriptions","organizations_url":"https://api.github.com/users/bureddysantosh/orgs","repos_url":"https://api.github.com/users/bureddysantosh/repos","events_url":"https://api.github.com/users/bureddysantosh/events{/privacy}","received_events_url":"https://api.github.com/users/bureddysantosh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-06-19T13:23:02Z","updated_at":"2016-09-19T11:16:28Z","closed_at":"2015-06-22T15:13:58Z","body":"Hi Team,\r\n\r\nWe are installed above \"yii2-sendgrid\" using composer.\r\nAnd we are getting below error:\r\nClass 'SendGrid\\Email' not found\r\n\r\nHere is my code;\r\n$sendGrid = Yii::$app->sendGrid;\t\t\r\n$attributes = array('name' => \"ABC\", 'email' => \"xyz@example.com\");\r\n$message = $sendGrid->compose('@app/views/email-templates/check.php', ['attributes' => $attributes]);\r\n\r\n$message->setFrom('xx@example.com')\r\n\t\t->setTo('xyz@example.com')\r\n\t\t->setSubject('Thanks')\t\t\t\t\r\n\t\t->send($sendGrid);\r\n"},"comment":{"url":"https://api.github.com/repos/bryglen/yii2-sendgrid/issues/comments/247966810","html_url":"https://github.com/bryglen/yii2-sendgrid/issues/4#issuecomment-247966810","issue_url":"https://api.github.com/repos/bryglen/yii2-sendgrid/issues/4","id":247966810,"user":{"login":"mits-techreceptives","id":20837890,"avatar_url":"https://avatars.githubusercontent.com/u/20837890?v=3","gravatar_id":"","url":"https://api.github.com/users/mits-techreceptives","html_url":"https://github.com/mits-techreceptives","followers_url":"https://api.github.com/users/mits-techreceptives/followers","following_url":"https://api.github.com/users/mits-techreceptives/following{/other_user}","gists_url":"https://api.github.com/users/mits-techreceptives/gists{/gist_id}","starred_url":"https://api.github.com/users/mits-techreceptives/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mits-techreceptives/subscriptions","organizations_url":"https://api.github.com/users/mits-techreceptives/orgs","repos_url":"https://api.github.com/users/mits-techreceptives/repos","events_url":"https://api.github.com/users/mits-techreceptives/events{/privacy}","received_events_url":"https://api.github.com/users/mits-techreceptives/received_events","type":"User","site_admin":false},"created_at":"2016-09-19T11:16:28Z","updated_at":"2016-09-19T11:16:28Z","body":"@bureddysantosh what did you do to make it work? I'm having the same problem.please help"}}
{"actor":{"display_login":"mits-techreceptives"}}