You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just spent a while trying to track down a problem. I was just setting up a test to get mandrill-php working and when I tried a simple send test based on your messages_send.php example, I was getting a blank page. Switching on verbose I still got a blank page, but this in my apache log.
[Wed Feb 27 20:16:15 2013] [error] [client 127.0.0.1] MANDRILL: Invalid keys in call:
[Wed Feb 27 20:16:15 2013] [error] [client 127.0.0.1] MANDRILL: Sending request to: https://mandrillapp.com/api/1.0/messages/send.json with data: {"message":{"html":"<h1>example html<\\/h1><a href='http:\\/\\/cookingisfun.ie'>alink <\\/a>","text":"example text","subject":"JFC Subject","from_email":"toby@jobsforcooks.com","from_name":"Toby Allen Jobs froc ookds","to":[{"email":"fontbother@gmail.com","name":"Toby Allen"}],"track_opens":true,"track_clicks":true,"auto_text":true,"url_strip_qs":true,"tags":["test","example","sample"]},"key":"IREMOVEDMYKEY"}
After quite a lot of digging and a few calls to curl_getinfo on the open session I finally figured out that there must be a problem with SSL from my dev machine. Once I changed the https to http in the mandrill api call it worked fine.
I appreciate how to set up SSL is another tutorial, but a check of the result object should be able to detect if the curl session actually happened.
I'll try to add some code to raise a helpful error and push a request.
The text was updated successfully, but these errors were encountered:
I just spent a while trying to track down a problem. I was just setting up a test to get mandrill-php working and when I tried a simple send test based on your messages_send.php example, I was getting a blank page. Switching on verbose I still got a blank page, but this in my apache log.
After quite a lot of digging and a few calls to curl_getinfo on the open session I finally figured out that there must be a problem with SSL from my dev machine. Once I changed the https to http in the mandrill api call it worked fine.
I appreciate how to set up SSL is another tutorial, but a check of the result object should be able to detect if the curl session actually happened.
I'll try to add some code to raise a helpful error and push a request.
The text was updated successfully, but these errors were encountered: