Yii2 Amazon SES bug

I’m trying to implement the Yii2 Amazon SES extension at http://www.yiiframework.com/extension/yashop-ses/.

I’m getting this error


simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found




 in /Users/kt/Sites/hello/vendor/ofat/yii2-yashop-ses/libs/SimpleEmailServiceRequest.php


138139140141142143144145146147148149150151152153154155156                'message' => curl_error($curl),

                'resource' => $this->resource

            );

        }

 

        @curl_close($curl);

 

        // Parse body into XML

        if ($this->response->error === false && isset($this->response->body)) {

            $this->response->body = simplexml_load_string($this->response->body);

 

            // Grab SES errors

            if (!in_array($this->response->code, array(200, 201, 202, 204))

                && isset($this->response->body->Error)) {

                $error = $this->response->body->Error;

                $output = array();

                $output['curl'] = false;

                $output['Error'] = array();

                $output['Error']['Type'] = (string)$error->Type;



Can anyone help?

Hi ,

Did you solved this issue ??

Please help . I’am also facing same issue …

Hello Guys,
I think the problem here is before the parsing error. Amazon sends back some CloudFront error message that complains about the request (at least that’s what happens in my case, 403 error).