Skip to content

Instantly share code, notes, and snippets.

@masiur
Created May 24, 2016 20:41
Show Gist options
  • Save masiur/e8021da20f5092488a38cd5216c4a9bb to your computer and use it in GitHub Desktop.
Save masiur/e8021da20f5092488a38cd5216c4a9bb to your computer and use it in GitHub Desktop.
https://laracasts.com/discuss/channels/general-discussion/guzzlehttpguzzle-using-latest-stable-version-break-laravel-mail-sending-through-mandrillmailgun
#####
Make sure that you have "guzzlehttp/guzzle": "~4.0". It has to be THIS particular version. Can't be higher.
I installed mine using composer require guzzlehttp/guzzle and it installed version 5.2. Which cause it not to send emails. Correcting composer.json and running "composer update" fixed it straight away.
######
I had the exact same but on Windows & xampp. My solution was as simple as: Follow this link: http://curl.haxx.se/ca/cacert.pem Copy the entire page and save it in a: "cacert.pem"
Then in your php.ini file insert or edit the following line: curl.cainfo = "[pathtothisfile]\cacert.pem"
Problem solved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment