Merge pull request #8126 from BerkeleyTrue/feature/move-to-ses
Move from Mandril to Amazon SESpull/8148/head
commit
cc560a9cf4
|
@ -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",
|
||||||
|
|
|
@ -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
|
|
||||||
}
|
|
||||||
}]
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue