Fix move from Mandril to Amazon SES

closes #7240
This commit is contained in:
Berkeley Martinez
2016-04-14 21:02:53 -07:00
parent 0aaffe84bf
commit dcccb1bc5c
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
} }
}]
} }
}; };