Using AmazonSimpleEmailServiceClient.sendEmail() ; as per java docs
All service calls made using this client are blocking, and will not return until the service call completes.
Quick question is, is it thread safe?. Can multiple threads be using same instance of AmazonSimpleEmailServiceClient to call sendEmail() in parallel? Like, suppose, multiple users of my website trying to register on the website concurrently.
This is the answer I got from AWS:
Hi,
You should be able to use the same
AmazonSimpleEmailServiceClient()object to send using multiple threads.Regards,
Rohan