daniel-zahariev / php-aws-ses

PHP classes that interfaces Amazon Simple Email Service
307 stars 100 forks source link

document regional/endpoint #10

Closed johnabela closed 9 years ago

johnabela commented 9 years ago

Hello,

It would be nice to have the documentation include how to access the different regional/endpoints.

http://docs.aws.amazon.com/general/latest/gr/rande.html#ses_region

$ses = new SimpleEmailService(AccessKey, SecretKey,'email.us-west-2.amazonaws.com'); // US West (Oregon) HTTPS

It appears to default to the 'email.us-east-1.amazonaws.com' US East (N. Virginia) HTTPS

windnod commented 9 years ago

indeed!

hubdotcom commented 9 years ago

+1

The list of regions is here for reference: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/regions.html

daniel-zahariev commented 9 years ago

Thanks for the suggestion! A few class constants in SimpleEmailService are now preset and available for selecting a region.