Hi all, sorry for asking again, I followed this c...
# aws
s
Hi all, sorry for asking again, I followed this code example (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/examples-send-raw-using-sdk.html) to send SES sendRawEmail. Which worked perfectly fine for the SMTP credentials which I created like 6 months ago, But when I use the same code and replaced the newly created smtp credentials, I got the following error . .
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.
The Canonical String for this request should have been
'POST
/
content-type:application/x-www-form-urlencoded; charset=utf-8
host:email.us-east-1.amazonaws.com...........................................
I believe old the credentials which I used was using SigV2 and with the new creds which uses SigV4 am getting the above error. please let me know if anyone know how to solve this or any link or blog which shows how to use sigv4 creds to send email using python.. Thanks in advanceĀ (edited)