SES vs SESv2 – Inbound Email / Receipt Rules Support #7625
Replies: 2 comments
-
|
Hi @Arun-kumar002, I've double-checked the current AWS SDK v3 architecture, and your observation is correct. Here is the verified technical breakdown for your questions: 1. Is it the recommended approach to use both?Yes. Currently, 2. Are there plans to add these to SESv2?As of now, there is no official roadmap or public announcement from AWS to port Receipt Rule APIs to the V2 client. SESv2 was built to provide a cleaner interface for the most common sending tasks, while legacy features remain in the V1-based client. 3. Long-term support for client-ses
Best Practice Implementation:You can cleanly manage this by exporting both clients from a central configuration file: import { SESClient } from "@aws-sdk/client-ses";
import { SESv2Client } from "@aws-sdk/client-sesv2";
const config = { region: "us-east-1" };
// Dedicated for Inbound/Receipt Rules
export const inboundClient = new SESClient(config);
// Dedicated for Outbound/Sending
export const outboundClient = new SESv2Client(config);Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
|
The receipt-rules APIs were intentionally left out of SESv2 — AWS decided inbound-email plane stays on v1 for now since it has a different scaling story. Recommended pattern: use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team,
In our application, we initially used the @aws-sdk/client-ses package for sending emails. Later, we migrated to @aws-sdk/client-sesv2 since it is recommended for email sending and provides better APIs for that use case. At this point, we are using SESv2 exclusively for sending emails.
Now we are building a feature to receive inbound emails using Amazon SES. For inbound email configuration, we currently rely on the following APIs, which are available only in @aws-sdk/client-ses:
const { CreateReceiptRuleCommand, DescribeReceiptRuleSetCommand, CreateReceiptRuleSetCommand, SetActiveReceiptRuleSetCommand, } = require("@aws-sdk/client-ses");These receipt rule–related APIs are not available in @aws-sdk/client-sesv2.
Questions:
Any guidance or best practices around this would be very helpful.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions