$curl = \Request::forge('https://email.' . $this->region . '.amazonaws.com/', array( 'driver' => 'curl', 'method' => 'post' ))->set_header('Content-Type','application/x-www-form-urlencoded') ->set_header('X-Amzn-Authorization','AWS3-HTTPS AWSAccessKeyId='.\\\\\\\\\\\\\\\\Config::get('ses.access_key').', Algorithm=HmacSHA256, Signature=' . $signature) ->set_header('Date', $date); $response = $curl->execute($params);
try { $email->send(); } catch(\EmailValidationFailedException $e) { // The validation failed } catch(\EmailSendingFailedException $e) { // The driver could not send the email }
It looks like you're new here. If you want to get involved, click one of these buttons!