Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning ERROR from AWS SES #90

Open
inglesuniversal opened this issue Apr 18, 2022 · 2 comments
Open

Warning ERROR from AWS SES #90

inglesuniversal opened this issue Apr 18, 2022 · 2 comments

Comments

@inglesuniversal
Copy link

inglesuniversal commented Apr 18, 2022

I'm getting this error... do you know why?

Warning: SimpleEmailService::sendEmail(): Sender - SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details. Do I need to set up port number?

CODE:

$region_endpoint = SimpleEmailService::AWS_US_EAST_1;
$ses = new SimpleEmailService('AxxxxxxxxxxxxxxxxxxxxM', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 
$region_endpoint);
print_r($ses->sendEmail($m));

Best regards

@robotys
Copy link

robotys commented Sep 21, 2022

Same here. Have tried:

  1. New access key and secret
  2. Different region

Still return the same error.

@robotys
Copy link

robotys commented Sep 21, 2022

Found the issue: Got special character in my Access key, need to escape it.

Stackoverflow link for reference --> https://stackoverflow.com/questions/30518899/amazon-s3-how-to-fix-the-request-signature-we-calculated-does-not-match-the-s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants