Skip to content

Commit

Permalink
Merge pull request #114 from mariojrrc/master
Browse files Browse the repository at this point in the history
Updated changelog for the latest PR.
  • Loading branch information
bakura10 authored May 15, 2017
2 parents 2b6993b + 4f255ef commit fa3729a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# CHANGELOG
## 2.1.2
- ElasticEmail API endpoint `/send` tell us to use POST method instead of GET. So, when sending big html messages via GET it returns 414 error. Fixed to use POST in the method `send` of the `ElasticEmailService.php`

## 2.1.1
- MailGun API endpoint `/logs` is deprecated. So, you should use the `getEvents` function instead of `getLogs` from `MailGunService.php`.
- MailGun API endpoint `/logs` is deprecated. So, you should use the `getEvents` function instead of `getLog` from `MailGunService.php`.
- Small fix in the ElasticMail Api return's when authentication fails.
- Small PHP syntax's fixes

Expand Down
4 changes: 2 additions & 2 deletions src/SlmMail/Service/ElasticEmailService.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ private function prepareHttpClient($uri, array $parameters = array(), $method =
*
* @param HttpResponse $response
* @throws Exception\InvalidCredentialsException
* @return array
* @return string
*/
private function parseResponse(HttpResponse $response)
{
Expand All @@ -343,7 +343,7 @@ private function parseResponse(HttpResponse $response)
'Authentication error: missing or incorrect Elastic Email API key'
);
}

return $result;
}
}

0 comments on commit fa3729a

Please sign in to comment.