Verify email in SES as part of Cognito verification












0














How can you verify emails in SES once it is verified in Cognito? Expected behaviour is when user registers via Cognito, they receive verification email. After clicking on verification link user will be verified both in Cognito and SES.



I would be happy if I could even do the same with SNS



UPDATE
For whom are interested, I had my SES account under sandbox. Of course in production I can send emails to my Cognito user pool with asking them to register again in SES










share|improve this question
























  • You mean you are not able to send verification email even though you have set FromEmail in cognito?
    – Jayesh Dhandha
    Nov 21 at 13:15










  • User needs to verify email as part of Cognito registration, but they also need to do the same thing for SES when they added to the list. I am looking for a way to send only one verification email to register user in Cognito AND SES
    – Mazzi
    Nov 21 at 23:25










  • Well, I don't understand your requirement clearly. But what we are doing is we are giving permission to cognito in the SES Identity policy with cognito-idp.amazonaws.com Using this the cognito can directly use this email in their configuration and auto verification email should work fine!
    – Jayesh Dhandha
    Nov 22 at 5:19






  • 1




    You need to verify SES recipients only when your SES account is in sandbox state as AWS wants to make sure you understand implications of utilising this service. When going to production you need to request for limit increase. docs.aws.amazon.com/ses/latest/DeveloperGuide/…
    – Peter Pajchl
    Nov 23 at 16:26










  • @PeterPajchl Such a simple oversight! Thank you!
    – Mazzi
    Nov 25 at 22:09
















0














How can you verify emails in SES once it is verified in Cognito? Expected behaviour is when user registers via Cognito, they receive verification email. After clicking on verification link user will be verified both in Cognito and SES.



I would be happy if I could even do the same with SNS



UPDATE
For whom are interested, I had my SES account under sandbox. Of course in production I can send emails to my Cognito user pool with asking them to register again in SES










share|improve this question
























  • You mean you are not able to send verification email even though you have set FromEmail in cognito?
    – Jayesh Dhandha
    Nov 21 at 13:15










  • User needs to verify email as part of Cognito registration, but they also need to do the same thing for SES when they added to the list. I am looking for a way to send only one verification email to register user in Cognito AND SES
    – Mazzi
    Nov 21 at 23:25










  • Well, I don't understand your requirement clearly. But what we are doing is we are giving permission to cognito in the SES Identity policy with cognito-idp.amazonaws.com Using this the cognito can directly use this email in their configuration and auto verification email should work fine!
    – Jayesh Dhandha
    Nov 22 at 5:19






  • 1




    You need to verify SES recipients only when your SES account is in sandbox state as AWS wants to make sure you understand implications of utilising this service. When going to production you need to request for limit increase. docs.aws.amazon.com/ses/latest/DeveloperGuide/…
    – Peter Pajchl
    Nov 23 at 16:26










  • @PeterPajchl Such a simple oversight! Thank you!
    – Mazzi
    Nov 25 at 22:09














0












0








0







How can you verify emails in SES once it is verified in Cognito? Expected behaviour is when user registers via Cognito, they receive verification email. After clicking on verification link user will be verified both in Cognito and SES.



I would be happy if I could even do the same with SNS



UPDATE
For whom are interested, I had my SES account under sandbox. Of course in production I can send emails to my Cognito user pool with asking them to register again in SES










share|improve this question















How can you verify emails in SES once it is verified in Cognito? Expected behaviour is when user registers via Cognito, they receive verification email. After clicking on verification link user will be verified both in Cognito and SES.



I would be happy if I could even do the same with SNS



UPDATE
For whom are interested, I had my SES account under sandbox. Of course in production I can send emails to my Cognito user pool with asking them to register again in SES







node.js aws-lambda amazon-cognito amazon-sns amazon-ses






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 25 at 22:11

























asked Nov 21 at 4:26









Mazzi

4854825




4854825












  • You mean you are not able to send verification email even though you have set FromEmail in cognito?
    – Jayesh Dhandha
    Nov 21 at 13:15










  • User needs to verify email as part of Cognito registration, but they also need to do the same thing for SES when they added to the list. I am looking for a way to send only one verification email to register user in Cognito AND SES
    – Mazzi
    Nov 21 at 23:25










  • Well, I don't understand your requirement clearly. But what we are doing is we are giving permission to cognito in the SES Identity policy with cognito-idp.amazonaws.com Using this the cognito can directly use this email in their configuration and auto verification email should work fine!
    – Jayesh Dhandha
    Nov 22 at 5:19






  • 1




    You need to verify SES recipients only when your SES account is in sandbox state as AWS wants to make sure you understand implications of utilising this service. When going to production you need to request for limit increase. docs.aws.amazon.com/ses/latest/DeveloperGuide/…
    – Peter Pajchl
    Nov 23 at 16:26










  • @PeterPajchl Such a simple oversight! Thank you!
    – Mazzi
    Nov 25 at 22:09


















  • You mean you are not able to send verification email even though you have set FromEmail in cognito?
    – Jayesh Dhandha
    Nov 21 at 13:15










  • User needs to verify email as part of Cognito registration, but they also need to do the same thing for SES when they added to the list. I am looking for a way to send only one verification email to register user in Cognito AND SES
    – Mazzi
    Nov 21 at 23:25










  • Well, I don't understand your requirement clearly. But what we are doing is we are giving permission to cognito in the SES Identity policy with cognito-idp.amazonaws.com Using this the cognito can directly use this email in their configuration and auto verification email should work fine!
    – Jayesh Dhandha
    Nov 22 at 5:19






  • 1




    You need to verify SES recipients only when your SES account is in sandbox state as AWS wants to make sure you understand implications of utilising this service. When going to production you need to request for limit increase. docs.aws.amazon.com/ses/latest/DeveloperGuide/…
    – Peter Pajchl
    Nov 23 at 16:26










  • @PeterPajchl Such a simple oversight! Thank you!
    – Mazzi
    Nov 25 at 22:09
















You mean you are not able to send verification email even though you have set FromEmail in cognito?
– Jayesh Dhandha
Nov 21 at 13:15




You mean you are not able to send verification email even though you have set FromEmail in cognito?
– Jayesh Dhandha
Nov 21 at 13:15












User needs to verify email as part of Cognito registration, but they also need to do the same thing for SES when they added to the list. I am looking for a way to send only one verification email to register user in Cognito AND SES
– Mazzi
Nov 21 at 23:25




User needs to verify email as part of Cognito registration, but they also need to do the same thing for SES when they added to the list. I am looking for a way to send only one verification email to register user in Cognito AND SES
– Mazzi
Nov 21 at 23:25












Well, I don't understand your requirement clearly. But what we are doing is we are giving permission to cognito in the SES Identity policy with cognito-idp.amazonaws.com Using this the cognito can directly use this email in their configuration and auto verification email should work fine!
– Jayesh Dhandha
Nov 22 at 5:19




Well, I don't understand your requirement clearly. But what we are doing is we are giving permission to cognito in the SES Identity policy with cognito-idp.amazonaws.com Using this the cognito can directly use this email in their configuration and auto verification email should work fine!
– Jayesh Dhandha
Nov 22 at 5:19




1




1




You need to verify SES recipients only when your SES account is in sandbox state as AWS wants to make sure you understand implications of utilising this service. When going to production you need to request for limit increase. docs.aws.amazon.com/ses/latest/DeveloperGuide/…
– Peter Pajchl
Nov 23 at 16:26




You need to verify SES recipients only when your SES account is in sandbox state as AWS wants to make sure you understand implications of utilising this service. When going to production you need to request for limit increase. docs.aws.amazon.com/ses/latest/DeveloperGuide/…
– Peter Pajchl
Nov 23 at 16:26












@PeterPajchl Such a simple oversight! Thank you!
– Mazzi
Nov 25 at 22:09




@PeterPajchl Such a simple oversight! Thank you!
– Mazzi
Nov 25 at 22:09












1 Answer
1






active

oldest

votes


















0














I am little confused with your question, but I am assuming you are having a problem sending emails to users through SES. If I am wrong, please elaborate your question little more.



There is no need to verify user's email address in SES. Maybe SES is restricting you to send emails globally. By default, to send emails through SES the receiver email must be registered, AWS is responsible for this behavior. You have to ask AWS support team to open the account to allow sending emails to any receiver address.






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53405251%2fverify-email-in-ses-as-part-of-cognito-verification%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I am little confused with your question, but I am assuming you are having a problem sending emails to users through SES. If I am wrong, please elaborate your question little more.



    There is no need to verify user's email address in SES. Maybe SES is restricting you to send emails globally. By default, to send emails through SES the receiver email must be registered, AWS is responsible for this behavior. You have to ask AWS support team to open the account to allow sending emails to any receiver address.






    share|improve this answer




























      0














      I am little confused with your question, but I am assuming you are having a problem sending emails to users through SES. If I am wrong, please elaborate your question little more.



      There is no need to verify user's email address in SES. Maybe SES is restricting you to send emails globally. By default, to send emails through SES the receiver email must be registered, AWS is responsible for this behavior. You have to ask AWS support team to open the account to allow sending emails to any receiver address.






      share|improve this answer


























        0












        0








        0






        I am little confused with your question, but I am assuming you are having a problem sending emails to users through SES. If I am wrong, please elaborate your question little more.



        There is no need to verify user's email address in SES. Maybe SES is restricting you to send emails globally. By default, to send emails through SES the receiver email must be registered, AWS is responsible for this behavior. You have to ask AWS support team to open the account to allow sending emails to any receiver address.






        share|improve this answer














        I am little confused with your question, but I am assuming you are having a problem sending emails to users through SES. If I am wrong, please elaborate your question little more.



        There is no need to verify user's email address in SES. Maybe SES is restricting you to send emails globally. By default, to send emails through SES the receiver email must be registered, AWS is responsible for this behavior. You have to ask AWS support team to open the account to allow sending emails to any receiver address.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 23 at 9:20









        Jayesh Dhandha

        557517




        557517










        answered Nov 21 at 7:30









        Shawon Kanji

        517210




        517210






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53405251%2fverify-email-in-ses-as-part-of-cognito-verification%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Tonle Sap (See)

            I get strange results when I access the Sqlitedatabase with Unity C# via XAMPP

            Guatemaltekische Davis-Cup-Mannschaft