Verify email in SES as part of Cognito verification
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
add a comment |
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
You mean you are not able to send verification email even though you have set FromEmail in cognito?
– Jayesh Dhandha
Nov 21 '18 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 '18 at 23:25
Well, I don't understand your requirement clearly. But what we are doing is we are giving permission to cognito in theSES Identity policy
withcognito-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 '18 at 5:19
1
You need to verify SES recipients only when your SES account is insandbox
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 '18 at 16:26
@PeterPajchl Such a simple oversight! Thank you!
– Mazzi
Nov 25 '18 at 22:09
add a comment |
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
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
node.js aws-lambda amazon-cognito amazon-sns amazon-ses
edited Nov 25 '18 at 22:11
Mazzi
asked Nov 21 '18 at 4:26
MazziMazzi
4854825
4854825
You mean you are not able to send verification email even though you have set FromEmail in cognito?
– Jayesh Dhandha
Nov 21 '18 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 '18 at 23:25
Well, I don't understand your requirement clearly. But what we are doing is we are giving permission to cognito in theSES Identity policy
withcognito-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 '18 at 5:19
1
You need to verify SES recipients only when your SES account is insandbox
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 '18 at 16:26
@PeterPajchl Such a simple oversight! Thank you!
– Mazzi
Nov 25 '18 at 22:09
add a comment |
You mean you are not able to send verification email even though you have set FromEmail in cognito?
– Jayesh Dhandha
Nov 21 '18 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 '18 at 23:25
Well, I don't understand your requirement clearly. But what we are doing is we are giving permission to cognito in theSES Identity policy
withcognito-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 '18 at 5:19
1
You need to verify SES recipients only when your SES account is insandbox
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 '18 at 16:26
@PeterPajchl Such a simple oversight! Thank you!
– Mazzi
Nov 25 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 at 16:26
@PeterPajchl Such a simple oversight! Thank you!
– Mazzi
Nov 25 '18 at 22:09
@PeterPajchl Such a simple oversight! Thank you!
– Mazzi
Nov 25 '18 at 22:09
add a comment |
1 Answer
1
active
oldest
votes
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.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
edited Nov 23 '18 at 9:20
Jayesh Dhandha
637619
637619
answered Nov 21 '18 at 7:30
Shawon KanjiShawon Kanji
537210
537210
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
You mean you are not able to send verification email even though you have set FromEmail in cognito?
– Jayesh Dhandha
Nov 21 '18 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 '18 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
withcognito-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 '18 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 '18 at 16:26
@PeterPajchl Such a simple oversight! Thank you!
– Mazzi
Nov 25 '18 at 22:09