I have Laravel 5.2 fresh installation.
I did following:
- I have set up my
.env
fileMAIL_DRIVER=mandrill SECRET=my_mandrill_api_key
- I have installed Guzzle (https://github.com/guzzle/guzzle)
- I have setup my email in view (https://github.com/laravel/laravel/blob/5.0/resources/views/emails/password.blade.php)
- I have fixed the certificate issue (PHP cURL error code 60)
So it seems everything is done correctly.
When I fill email to reset password and press Send Password Reset Link button, I get following error
Server error:
POST https://mandrillapp.com/api/1.0/messages/send-raw.json
resulted in a500 Internal Server Error
response: {"status":"error","code":-1,"name":"ValidationError","message":"You must specify a key value"}
I have check my log in Mandrill (https://mandrillapp.com/settings/api) there is no logs for my action.
From the error of Mandrill, I know it does not get the api key, so for some reason the api key and other values is not passing over to Mandrill api.
Question: What is missing/wrong?
Note: right now I am working on my local environment building the app. My local environment Windows 10/Bitnami WAMP stack 7/ I am also using Mandrill API.