有沒有一種方法可以創建一個簡單的HTML按鈕,通過點擊將輸入電子郵件地址(通過表單字段)提供給Amazon SES API來驗證新地址?而不是必須在AWS中逐一手動登錄和驗證人員?我們如何使用他們的API自動驗證電子郵件地址是Amazon SES?
0
A
回答
0
您應該只發送一個或幾個域名的電子郵件。 SES的設立是爲了檢測並最大程度減少垃圾郵件來源,並且您正試圖從衆多地址發送/接收地址。
如果您要收集地址,說客戶並代表他們發送電子郵件(例如從聯繫表單),則應將From:
標題設置爲您的一個已驗證域,並將Reply-To
標題設置爲客戶的地址。
這樣,SES很高興您能準確地確定自己是電子郵件的來源,但回覆將返回給客戶。
0
*You can use the aws sdk to invoke SES directly from code.Pass the list of email address to these lines of code.*
AmazonSimpleEmailServiceClient ses= new AmazonSimpleEmailServiceClient(credentials);
List lids = ses.listIdentities().getIdentities();
if (lids.contains(address)) {
//the address is verified so
return true;
}
VerifyEmailAddressResult res = ses
.verifyEmailAddress(new VerifyEmailAddressRequest().withEmailAddress(address));
System.out.println("Please check the email address " + address + " to verify it");
相關問題
- 1. 使用AMAZON SES驗證電子郵件
- 2. Amazon SES電子郵件地址未驗證
- 3. 如何使用Amazon SES發送電子郵件時未驗證'from'電子郵件地址
- 4. 使用Amazon SES轉發電子郵件:554消息被拒絕:電子郵件地址未驗證。
- 5. 如何使用我們自己的API發送電子郵件?
- 6. 如何驗證電子郵件地址
- 7. 電子郵件地址驗證,如何?
- 8. 如何驗證電子郵件地址
- 9. 我們如何檢查電子郵件地址是否有效?
- 10. 如果我還無法接收電子郵件,如何驗證AWS SES電子郵件地址?
- 11. 我們如何保證Firebase用戶保存的電子郵件確實是他自己的電子郵件?
- 12. Amazon SES - 隱藏收件人電子郵件地址
- 13. Amazon SES - 電子郵件地址中的非ASCII字符
- 14. 如何確定用戶的電子郵件何時已通過Amazon SES驗證?
- 15. 如何使用C++驗證電子郵件地址使用CAtlRegExp
- 16. ASP.NET的電子郵件地址驗證
- 17. 如何使用PHP驗證域名的電子郵件地址?
- 18. 如何驗證Python中的電子郵件地址使用smtplib
- 19. 如何驗證來自特定域的電子郵件地址?
- 20. 自定義亞馬遜SES地址驗證請求電子郵件
- 21. Rails中,設計 - 從改變他們的電子郵件地址
- 22. 如何保存使用Amazon SES發送的電子郵件?
- 23. 如何使用JavaScript驗證電子郵件地址?
- 24. 如何使用Firebase驗證電子郵件地址
- 25. OSCLASS:驗證電子郵件地址
- 26. 驗證電子郵件地址
- 27. 電子郵件地址輸入驗證
- 28. ZF2電子郵件地址驗證器
- 29. 電子郵件地址驗證狀態
- 30. 驗證電子郵件地址
您是否知道可以一次驗證整個域?還是來自多個域的這些用戶? –
是在單個網絡應用程序中來自多個用戶的多個域 – user3589792
http://docs.aws.amazon.com/ses/latest/APIReference/API_VerifyEmailIdentity.html –