1 Answer
- Newest
- Most votes
- Most comments
0
You certainly can. In fact, the sender doesn't even have to be on AWS to use SES. Note, however, that SMTP endpoint is different: in us-east-1 it is email-smtp.us-east-1.amazonaws.com and in us-east-2 it is email-smtp.us-east-2.amazonaws.com
answered 3 years ago
Relevant content
- asked 3 years ago

Thanks for the response. In my case we have a scenario where the RDS SQL Server is in a VPC which is different to where the VPC endpoint has been configured. For RDS SQL Server Database Mail to be configured you need to create a VPC endpoint and this endpoint needs to be used when creating the Database Mail account. The @mailserver_name parameter needs to use the DNS name obtained from the endpoint; example (vpce-0a9cxxxxxxxxxxxxx-xxxxxxxx.email-smtp.ap-southeast-2.vpce.amazonaws.com).
When i follow the documentation (https://aws.amazon.com/premiumsupport/knowledge-center/rds-sql-server-ses-email/) i am able to get the Database Mail to Send emails from RDS SQL Server.
The issue is when i try to use an endpoint i have created in another VPC. When i use that SMTP endpoint i cannot send emails.
Now i am thinking; does this reference documentation (https://docs.aws.amazon.com/ses/latest/dg/send-email-set-up-vpc-endpoints.html#send-email-set-up-vpc-endpoints-procedure) mean that there is a limitation when using SMTP endpoint within your own VPC? Meaning only services within the same region can be accessed by the Endpoint?
The SMTP endpoint used within the VPC is restricted to the AWS Region currently being used for your account.