CODE
YMClientException Object
(
[errorCode:YMClientException:private] => 500
[detail:YMClientException:private] => Bad response from Ymail: HTTP 500, Content-Type: application/json; charset=UTF-8
[message:protected] => Ymail request failed
[string:Exception:private] =>
[code:protected] => 0
I was continuously receiving the error 200 code before this. I'm using the basic example from the ymailphp library written by Michael Curtis - If I can't get this example to work, I don't think I stand much of a chance anywhere else, lol. I was worried the following may be incorrect, any help would be appreciated.
CODE
define(OA_CONSUMER_KEY, "correct key here");
define(OA_CONSUMER_SECRET, "correct secret here");
define(OA_CALLBACK_URL, "same page as callback here");
define('REQUEST_TOKEN_COOKIE_NAME', 'rt');
define('ACCESS_TOKEN_COOKIE_NAME', 'at');