aws-sdk-js-v3 icon indicating copy to clipboard operation
aws-sdk-js-v3 copied to clipboard

Bring back SendRawEmailCommand for SESv2

Open jaschaio opened this issue 3 years ago • 1 comments
trafficstars

Describe the feature

It looks like the SESv2Client doesn't support sending raw emails and as far as I know there is no other way to set email headers.

Use Case

I want to set custom email headers

Proposed Solution

Make the SendRawEmailCommand available within SESv2

Other Information

No response

Acknowledgements

  • [ ] I may be able to implement this feature request
  • [ ] This feature might incur a breaking change

SDK version used

latest

Environment details (OS name and version, etc.)

osx

jaschaio avatar Aug 12 '22 05:08 jaschaio

Hey @jaschaio thanks for opening this feature request, will discuss it with the team but cant promise on priority. Will keep the request open to see if we can get more traction and discussion on it.

ajredniwja avatar Aug 22 '22 07:08 ajredniwja

Any other way to handle to add headers to email using sesv2 sendEmail?

amitmoondra avatar Sep 26 '23 10:09 amitmoondra

Hi there,

I'm not sure why this was marked as "Bring back SendRawEmailCommand". Do you mean this was supported in the SESv2 client in v2? Because both v2 and v3 are generated from the same model file, so this should not be the case.

You can use the SendRawEmailCommand that is included in the SESclient (v1):https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ses/command/SendRawEmailCommand

For this to be added into the SESv2 Client on JS v3 SDK, it needs to have both backend API support, and also it needs to be included in the API model. Since the SDK team cannot add this ourselves, and you can use SESv1 and SESv2 together safely, we are going to close this feature request.

Thanks, Ran~

RanVaknin avatar Mar 13 '24 21:03 RanVaknin

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

github-actions[bot] avatar Mar 28 '24 00:03 github-actions[bot]