# EmailSettings

Email settings for the user pool.

- Source: [`aws-cognito/lib/user-pool.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-cognito/lib/user-pool.ts#L546)
- Type last changed: v2.72.0 · 29 Mar 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cognito as cognito } from 'aws-cdk-lib';
const emailSettings: cognito.EmailSettings = {
  from: 'from',
  replyTo: 'replyTo',
};
```

## Properties

- `from`: string = noreply@verificationemail.com — The 'from' address on the emails received by the user.

- `replyTo`: string — The 'replyTo' address on the emails received by the user as defined by IETF RFC-5322.

  **Default:** Not set.

  When set, most email clients recognize to change 'to' line to this address when a reply is drafted.
