aws-sdk-go-v2 icon indicating copy to clipboard operation
aws-sdk-go-v2 copied to clipboard

Migrate to ses v2 to fix: Message length is more than 10485760 bytes long: '12078147'

Open RichardLindhout opened this issue 3 years ago • 0 comments

Describe the feature

I want to send email via the ses v2 api which has greater limits.

Use Case

I want to send big files without getting errors (in the current version)

ERR could not send email: Message length is more than 10485760 bytes long: '12078147'. error="operation error SES: SendRawEmail, https response error StatusCode: 400, RequestID: 6449f1fe-aa0f-4c7a-a47e-95b383270cd3, api error InvalidParameterValue: Message length is more than 10485760 bytes long: '12078147'." aws_error_code=InvalidParameterValue

Proposed Solution

Make SES support the v2 api so we can bigger files

Other Information

No response

Acknowledgements

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

AWS Go SDK V2 Module Versions Used

github.com/aws/aws-sdk-go-v2 v1.16.7
github.com/aws/aws-sdk-go-v2/config v1.15.14
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.20
github.com/aws/aws-sdk-go-v2/service/s3 v1.27.1
github.com/aws/aws-sdk-go-v2/service/ses v1.14.9

Go version used

1.18

RichardLindhout avatar Jul 23 '22 15:07 RichardLindhout