{"id":99,"date":"2023-02-21T09:03:34","date_gmt":"2023-02-21T09:03:34","guid":{"rendered":"https:\/\/blessingcr.com\/?p=99"},"modified":"2023-02-21T09:03:36","modified_gmt":"2023-02-21T09:03:36","slug":"%e9%82%ae%e4%bb%b6%e6%8e%a5%e5%85%a5","status":"publish","type":"post","link":"https:\/\/blessingcr.com\/?p=99","title":{"rendered":"\u90ae\u4ef6\u63a5\u5165"},"content":{"rendered":"\n<p>1. \u65b0\u5efa\u8d26\u6237\uff0c\u62ff\u5230access key \u548c secret<\/p>\n\n\n\n<p>2. \u4e0b\u8f7d\u5b89\u88c5aws \u5ba2\u6237\u7aef\uff0c\u4f7f\u7528aws config \u914d\u7f6e\u5bc6\u94a5\u548crigion\uff0c \u6216\u8005\u76f4\u63a5\u5728~\/.aws\/ \u4e0b\u65b0\u5efacredentials,config\u6587\u4ef6<\/p>\n\n\n\n<p>\u6837\u4f8b\u5982\u4e0b<\/p>\n\n\n\n<p>credentials \u6587\u4ef6\u5185<\/p>\n\n\n\n<p>[default]<\/p>\n\n\n\n<p>aws_access_key_id = AKxxxxI2<\/p>\n\n\n\n<p>aws_secret_access_key = 8NFxxxxxe8<\/p>\n\n\n\n<p>config \u6587\u4ef6\u5185<\/p>\n\n\n\n<p>[default]<\/p>\n\n\n\n<p>region = us-east-1<\/p>\n\n\n\n<p>output = json<\/p>\n\n\n\n<p>3. \u5728\u63a7\u5236\u53f0\u53f3\u4e0a\u89d2\u540d\u5b57\u83dc\u5355\u5185\uff0c\u5b89\u5168\u51ed\u8bc1\u4e0b\uff0c\u8bbf\u95ee\u7ba1\u7406\/\u7528\u6237\u6216\u8005\u7528\u6237\u7ec4\u5bf9accessKey\u6388\u6743<\/p>\n\n\n\n<p>4. \u5efa\u7acb\u6a21\u677f aws ses create-template --cli-input-json&nbsp;<a href=\"http:\/\/file\/\/~\/test.json\">file:\/\/~\/test.json<\/a><\/p>\n\n\n\n<p>test.json \u6587\u4ef6\u5982\u4e0b<\/p>\n\n\n\n<p>{<\/p>\n\n\n\n<p>&nbsp; &nbsp;&nbsp;\"Template\": {<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;\"TemplateName\":&nbsp;\"test\",<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;\"SubjectPart\":&nbsp;\"Greetings, {{code}}!\",<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;\"TextPart\":&nbsp;\"text, {{code}}\",<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;\"HtmlPart\":&nbsp;\"&lt;html&gt;\\n&lt;body&gt;\\n&lt;h2&gt;Hello!&lt;\/h2&gt;\\n&lt;p&gt;This is the HTML part of the message, {{code}}&lt;\/p&gt;&lt;\/body&gt;\\n&lt;\/html&gt;\"<\/p>\n\n\n\n<p>&nbsp; &nbsp; }<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<p>5.&nbsp;<a href=\"https:\/\/ap-northeast-1.console.aws.amazon.com\/ses\/home#\/verified-identities\">https:\/\/ap-northeast-1.console.aws.amazon.com\/ses\/home#\/verified-identities<\/a>&nbsp;ses\u63a7\u5236\u53f0\u6dfb\u52a0\u90ae\u7bb1\u5e76\u6821\u9a8c<\/p>\n\n\n\n<p>6.&nbsp;ses\u63a7\u5236\u53f0 account dashboad \u8bf7\u6c42\u79fb\u51fa\u6c99\u76d2\uff0c \u8981\u6c42\u5982\u4e0b<\/p>\n\n\n\n<p>For example, tell us how often you send email, how you maintain your recipient lists, and how you manage bounces, complaints, and unsubscribe requests. It is also helpful to provide examples of the email you plan to send so we can ensure that you are sending high-quality content that recipients will want to receive.<\/p>\n\n\n\n<p><small>\u6765\u6e90\uff1a&nbsp;<a href=\"https:\/\/support.console.aws.amazon.com\/support\/home?region=ap-northeast-1#\/case\/?displayId=11435635971&amp;language=en\">https:\/\/support.console.aws.amazon.com\/support\/home?region=ap-northeast-1#\/case\/?displayId=11435635971&amp;language=en<\/a><\/small><\/p>\n\n\n\n<p>\u81ea\u5df1\u63d0\u4ea4\u7684\u5982\u4e0b<\/p>\n\n\n\n<p>Hello, We plan to use SES service in the following situations: 1. We will send an email with verification code for customer when he want to register or reset his password in our website (&nbsp;<a href=\"https:\/\/www.want.net\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.want.net<\/a>); 2. We will discuss the requirements and prices with customer when he submits a order in our website. In our plan, we will send around 30k emails in the next 3-5 months. We pay attention to user experience and check the email health status of emails every month.<\/p>\n\n\n\n<p>7. SDK\u8c03\u7528\uff0c\u4ee3\u7801\u5982\u4e0b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u65b0\u5efa\u8d26\u6237\uff0c\u62ff\u5230access key \u548c secret 2. \u4e0b\u8f7d\u5b89\u88c5aws \u5ba2\u6237\u7aef\uff0c\u4f7f\u7528aws conf [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[50,51],"class_list":["post-99","post","type-post","status-publish","format-standard","hentry","category-aws","tag-aws","tag-51"],"_links":{"self":[{"href":"https:\/\/blessingcr.com\/index.php?rest_route=\/wp\/v2\/posts\/99","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blessingcr.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blessingcr.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blessingcr.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blessingcr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=99"}],"version-history":[{"count":1,"href":"https:\/\/blessingcr.com\/index.php?rest_route=\/wp\/v2\/posts\/99\/revisions"}],"predecessor-version":[{"id":100,"href":"https:\/\/blessingcr.com\/index.php?rest_route=\/wp\/v2\/posts\/99\/revisions\/100"}],"wp:attachment":[{"href":"https:\/\/blessingcr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blessingcr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blessingcr.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}