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.

Comments

longlivelance created an issue. See original summary.

deweydb’s picture

Awesome! just what i was looking for! thanks

deweydb’s picture

For 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...

anish.a’s picture

StatusFileSize
new970 bytes
new353 bytes

Its a nice practice to clean up the variables produced when uninstalling.

  • davisben committed ee793cc on 7.x-1.x authored by longlivelance
    Issue #2705929 by anish.a, longlivelance: Allow Developer to set the AWS...
davisben’s picture

Status: Needs review » Fixed

This has been committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.