简体   繁体   中英

EmailConfiguration for AWS cognito user pool

I am using cognito to manage users. Following guide of AWS, I have to configure EmailConfiguration.SourceArn like this:

arn:aws:ses:{region}:{account_id}:identity/noreply@example-domain.com

See https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-emailconfiguration.html#cfn-cognito-userpool-emailconfiguration-sourcearn for more details!

Can I set the email address as SomeApp <noreply@example-domain.com> ? It'll display "SomeApp" label instead of "noreply" label in users' inbox, which is more user-friendly.

For this case, you have to set value for both properties - SourceArn and From .

Read more about From property .

EmailConfiguration block will be like (yml syntax):

EmailConfiguration:
  ...
  SourceArn: "arn:aws:ses:{region}:{account_id}:identity/noreply@example-domain.com"
  From: "SomeApp <noreply@example-domain.com>"
  ...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM