freezing-account-94624
03/27/2025, 7:09 PMbrief-egg-61061
03/27/2025, 7:09 PMbrief-egg-61061
03/27/2025, 7:10 PMfreezing-account-94624
03/27/2025, 7:33 PMbrief-egg-61061
03/27/2025, 7:33 PMbrief-egg-61061
03/27/2025, 7:33 PMsmtp://{smtp-user}:{smtp-password}@email-smtp.{region}.<http://amazonaws.com:587/|amazonaws.com:587/>
For example: <smtp://theuser:thepassword@email-smtp.us-east-1.amazonaws.com:587/>
Note that the username and password must be [URI encoded](https://en.wikipedia.org/wiki/Percent-encoding). [Send emails using your SMTP server](https://www.ory.sh/docs/kratos/emails-sms/sending-emails-smtp#smtp-integrations) provides this information along with examples for other SMTP providers. ## Implementation Steps 1. First, set up AWS SES in your AWS account and create SMTP credentials 2. Verify your email domain in AWS SES 3. Configure Ory to use AWS SES by updating your SMTP settings: - In Ory Console: Go to Email and SMS settings and update the SMTP configuration - Using Ory CLI: Update your identity configuration with the AWS SES SMTP connection URI This will enable Ory to send all system emails (verification, recovery, login codes, etc.) through your AWS SES account. For custom email templates, you can also [customize the email templates](https://www.ory.sh/docs/kratos/emails-sms/custom-email-templates#using-custom-message-templates) that Ory sends through AWS SES to match your branding and requirements.freezing-account-94624
03/27/2025, 7:35 PMbrief-egg-61061
03/27/2025, 7:35 PMbrief-egg-61061
03/27/2025, 7:35 PMhook: web_hook config: url: <https://your-service.example.com/new-user-email> method: POST body: <base64://ENCODED_JSONNET> # Contains user data auth: type: basic_auth config: user: my-username password: my-password
### 2. Using Mailchimp/Mandrill Integration If you prefer using Mailchimp's transactional email service (Mandrill) instead of directly using AWS SES for this specific email: 1. Set up the [Mailchimp integration with Ory Actions](https://www.ory.sh/docs/actions/integrations/mailchimp) 2. Configure it to trigger after registration ### 3. Using HTTP Server for Email Delivery You can also configure Ory to use an HTTP server for email delivery instead of SMTP: courier: delivery_strategy: http http: request_config: url: <https://your-email-service.example.com> method: POST body: base64://... # Template with user data
[Send emails using an HTTP server](https://www.ory.sh/docs/kratos/emails-sms/sending-emails-smtp#send-emails-using-an-http-server) provides more details on this approach. ## Monitoring Email Delivery After setting up your action, you can monitor email delivery on the Monitoring → Email Delivery page in the [Ory Console](https://console.ory.sh/projects/current/email-delivery) to ensure your emails are being sent correctly. If you encounter any issues, check the [Troubleshooting](https://www.ory.sh/docs/kratos/emails-sms/sending-emails-smtp#troubleshooting) section for common problems and solutions.