我正在使用Amazon SES时状态码403:SignatureDoesNotMatch [英] Status Code 403: SignatureDoesNotMatch when I am using Amazon SES

查看:827
本文介绍了我正在使用Amazon SES时状态码403:SignatureDoesNotMatch的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个新的Amazon帐户.创建了SMTP凭证并使用AWS Java SDK发送电子邮件.但是失败,并显示以下错误:

I created a new Amazon account. Created SMTP Credentials and used AWS Java SDK to send emails. But it is failing with following error:

状态码:403,AWS服务:AmazonSimpleEmailService,AWS请求 ID:xyz,AWS错误代码:SignatureDoesNotMatch,AWS错误消息: 我们计算出的请求签名与您的签名不匹配 假如.检查您的AWS Secret Access密钥和签名方法.咨询 服务文档以了解详细信息.

Status Code: 403, AWS Service: AmazonSimpleEmailService, AWS Request ID: xyz, AWS Error Code: SignatureDoesNotMatch, AWS Error Message: 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.

推荐答案

要提供的用于发送电子邮件的密钥不是"SMTP凭据".这些密钥是全局访问密钥,可以通过 http://docs.amazonwebservices进行检索. com/ses/latest/GettingStartedGuide/GetAccessIDs.html .

The keys to be provided to send Emails are not "SMTP Credentials" . The keys are instead Global access key which can be retrieved http://docs.amazonwebservices.com/ses/latest/GettingStartedGuide/GetAccessIDs.html.

这篇关于我正在使用Amazon SES时状态码403:SignatureDoesNotMatch的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆