---
title: c AWS Simple Email Service (SES)
description: Available connectors
documentId: ipaas-aws-ses
locale: en-US
---

The [**AWS SES**](https://camel.apache.org/components/4.10.x/aws2-sns-component.html) component enables sending emails directly within integration flows, leveraging Amazon's scalable and managed infrastructure.

<Callout type="note" title="NOTE">
Sending attachments is not supported.
</Callout>

**URI Syntax**: `aws2-ses:from`

## Main fields

*Path parameters*

| **Name**        |       **Description**                             | **Default** | **Type** |
|-----------------|--------------------------------------------------|-------------|----------|
|`from` (producer)| (required) The sender's email address.            |             | String   |


*Query parameters*

| **Name**     | **Description**                                                                                                                        | **Default** | **Type** |
|--------------|----------------------------------------------------------------------------------------------------------------------------------------|-------------|----------|
| `bcc` (producer)          | List of BCC email addresses, separated by commas. Can be overridden by the `CamelAwsSesBcc` header.      | —           | String   |
| `cc` (producer)           | List of CC email addresses, separated by commas. Can be overridden by the `CamelAwsSesCc` header.        | —           | String   |
| `region` (producer)       | Region where the SES client will operate. Must be provided in lowercase (e.g., `ap-east-1`).             | —           | Enum     |
| `subject` (producer)      | Email subject, used if the `CamelAwsSesSubject` header is not present.                                   | —           | String   |
| `to` (producer)           | List of recipient email addresses, separated by commas. Can be overridden by the `CamelAwsSesTo` header. | —           | String   |
| `accessKey` (security)    | Amazon AWS Access Key.                                                                                   | —           | String   |
| `secretKey` (security)    | Amazon AWS Secret Key.                                                                                   | —           | String   |


## Example

The flow below sends an HTML email via AWS SES:


<Steps>
<Step>
The flow starts when a GET request is received to send an email.
</Step>
<Step>
The email body is set, which can be plain text or HTML.
</Step>
<Step>
Headers are configured to define recipients (To, CC, BCC) and the email subject.
</Step>
<Step>
The AWS SES connector is used to send the email, using credentials stored in variables (indicated by double curly braces) and the `us-east-1` region. Read about [flow variables](/docs/integrations/ipaas-flow-variables) configuration.
</Step>
<Step>
After sending, the flow returns a success message to the requester.
</Step>
</Steps>


```yaml
- from:
    uri: rest:get:send-email
    steps:
      - setBody:
          expression:
            constant:
              expression: Este email foi enviado pelo <b>SES</b> usando <i>Camel</i>
      - setHeaders:
          headers:
            - name: CamelAwsSesTo
              expression:
                constant:
                  expression: jane.doe@sensedia.com
            - name: CamelAwsSesSubject
              expression:
                constant:
                  expression: Teste de Envio de Email
            - name: CamelAwsSesHtmlEmail
              expression:
                constant:
                  expression: true
      - to:
          uri: aws2-ses:jane.doe@sensedia.com
          parameters:
            region: us-east-1
            accessKey: "{{ACCESS_KEY}}"
            secretKey: "{{SECRET_KEY}}"
      - setBody:
          expression:
            constant:
              expression: It worked
```

![](https://creative-ball-51b3fc85c0.media.strapiapp.com/aws_ses_connector_b449ce7585.png)
