Send email via SES VPCEndpoint
See original GitHub issueIs your feature request related to a problem? Please describe.
VPC Endpoints for SES were announced recently.
However, if you try to send an email via boto3 SES, the client will use the default URL (email.eu-west-1.amazonaws.com), which doesn’t connect to the VPC Endpoint (it will time out because there is no route to it in the private subnet)
To connect to the VPC Endpoint, we have to use a URL like ‘email-smtp.eu-west-1.amazonaws.com’ (the private DNS name of the endpoint)
However, if you specify this URL in the endpoint_url
param to the Boto3 constructor, it will fail with:
Invalid endpoint: email-smtp.eu-west-1.amazonaws.com
Describe the solution you’d like
I would like to be able to send email via the VPC Endpoint, which I suspect will mean being able to override the endpoint_url
.
If I have misunderstood anything regarding usage of boto3, then please do clarify.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
Hello,
is there any progress in the implementation of SES Endpoint using SDK? Or SES VPC Endpoint is still only for SMTP?
Thank you!
I think this should be a feature request to the service team as @swetashre mentioned. So I created a new issue in our shared SDK repository to track this: https://github.com/aws/aws-sdk/issues/181
I reached out to the SES team and will update that issue when I hear back.