During development using this module, I realized you could not set a region to default to. The module uses the us-east-1 region no matter what. In order to facilitate the use of other regions, I created this patch. It allows you to set a Drupal variable, 'amazon_ses_region', to define which region Amazon SES should be using. If not region is set it will use the default region in the AWSSDK, which is us-east-1.
Hopefully someone else trying to use a different region with this module will find this useful.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | interdiff-2705929-1-4.txt | 353 bytes | anish.a |
| #4 | allow_developer_set_aws_region-2705929-4.patch | 970 bytes | anish.a |
Comments
Comment #2
deweydb commentedAwesome! just what i was looking for! thanks
Comment #3
deweydb commentedFor anyone else that finds this patch, it's not very clear at first, but you actually want a line like the following in your settings.php to set to say oregon:
$conf['amazon_ses_region'] = 'email.us-west-2.amazonaws.com';
You can google to find the different region codes, and modify this line accordingly:
https://www.google.ca/search?q=amazon+aws+region+codes&oq=amazon+aws+reg...
Comment #4
anish.a commentedIts a nice practice to clean up the variables produced when uninstalling.
Comment #6
davisbenThis has been committed.