LocalStack
Use via Docker Compose
localstack:
image: localstack/localstack:3.3
ports:
- "4566" # LocalStack Gateway
environment:
- DOCKER_HOST=unix:///var/run/docker.sock
AWS SES
First, you’ll need to create a verified identity. For example in Go:
//...
_, err := ses.VerifyEmailIdentity(ctx, &ses.VerifyEmailIdentityInput{
EmailAddress: ptr.String("some_email@example.com"),
})
//...
Check emails that have been sent:
curl -s http://localhost.localstack.cloud:4566/_aws/ses | jq