Merge pull request #8126 from BerkeleyTrue/feature/move-to-ses

Move from Mandril to Amazon SES
pull/8148/head
Quincy Larson 2016-04-15 22:26:10 -07:00
commit cc560a9cf4
2 changed files with 6 additions and 8 deletions

View File

@ -91,6 +91,7 @@
"morgan": "^1.6.1", "morgan": "^1.6.1",
"node-uuid": "^1.4.3", "node-uuid": "^1.4.3",
"nodemailer": "^2.1.0", "nodemailer": "^2.1.0",
"nodemailer-ses-transport": "^1.3.0",
"normalize-url": "^1.3.1", "normalize-url": "^1.3.1",
"normalizr": "^2.0.0", "normalizr": "^2.0.0",
"object.assign": "^4.0.3", "object.assign": "^4.0.3",

View File

@ -8,13 +8,10 @@ module.exports = {
}, },
mail: { mail: {
connector: 'mail', connector: 'mail',
transports: [{ transport: {
type: 'smtp', type: 'ses',
service: 'Mandrill', accessKeyId: process.env.SES_ID,
auth: { secretAccessKey: process.env.SES_SECRET
user: secrets.mandrill.user, }
pass: secrets.mandrill.password
}
}]
} }
}; };