Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Amazon SES issues #61

Merged
merged 1 commit into from
May 6, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -341,15 +341,14 @@ table(configuration).
| @path@ | @"/usr/sbin/sendmail"@ | The path to the @sendmail@ executable. |


h4(#ses-transport). %6.3.1.% Amazon Simple E-Mail Service (SES)
h4(#amazon-transport). %6.3.1.% Amazon Simple E-Mail Service (SES)

Deliver your messages via the Amazon Simple E-Mail Service. While Amazon allow you to utilize SMTP for communication, using the correct API allows you to get much richer information back from delivery upon both success *and* failure. To utilize this transport you must have the @boto@ package installed.
Deliver your messages via the Amazon Simple E-Mail Service with the @amazon@ transport. While Amazon allows you to utilize SMTP for communication, using the correct API allows you to get much richer information back from delivery upon both success *and* failure. To utilize this transport you must have the @boto@ package installed.

table(configuration).
|_. Directive |_. Default |_. Description |
| @id@ | — | Your Amazon AWS access key identifier. |
| @key@ | — | Your Amazon AWS secret access key. |
| @host@ | @"email.us-east-1.amazonaws.com"@ | The API endpoint to utilize. |



Expand Down
1 change: 1 addition & 0 deletions marrow/mailer/transport/ses.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def __init__(self, config):
config['aws_secret_access_key'] = config.pop('key')

self.region = config.pop('region', "us-east-1")
config.pop('use') #boto throws an error if we leave this in the next line
self.config = config # All other configuration directives are passed to connect_to_region.
self.connection = None

Expand Down