alibaba-cloud-direct-mail

DirectMail SingSendMail not working

拥有回忆 提交于 2019-12-11 07:05:03
问题 I am trying the singleSendMail API from Alibaba Cloud's DirectMail, the request looks something like this https://xx.xxxx.com/?Action=SingleSendMail &AccountName=test@example.com &ReplyToAddress=true &AddressType=1 &ToAddress=test1@example.com &Subject=Subject &HtmlBody=<body><h2>Test</h2></body> I get a 400 error MissingParameter 回答1: The Alibaba Cloud REST API has two sets of parameters plus the signature that you must include in your request. Using Python as an example, you need to specify