Email service
We need mail service to verify user email
If you are using mailgun without domain you need to verify the emails you want to email Please add your email where you'd like to sign in to your apphttps://app.mailgun.com/app/account/authorized
Send emails using mailgun
Create mailgun account
Update config file
// Add this lines "mailgun": { "apiKey": "key-XXX", "domain": "XX.com" } "feathers-mongoose-casl": { "mailer": { "service": "mailgun", },
Send emails using sendgrid
Create sengrid account
Update config file
// Update add this lines "sendgrid": { "apiKey": "key-XXX", } "feathers-mongoose-casl": { "mailer": { "service": "sendgrid", //Optional - un comment to use template //"sendgrid-authentication-emails-templates": { //"reset-password": "d-e3565301c97748e199cf07987cfac6bd", //"Identity-change": "d-e89c652f1b6a41b4b65ffd8f81a89506", //"password-change": "d-e89c652f1b6a41b4b65ffd8f81a89506", //"verify-email": "d-2b7c56d513cc4401adfd6475cbc9352e", //"password-was-reset": "d-e89c652f1b6a41b4b65ffd8f81a89506", //"email-verified": "d-67c7921e8bcc4447a7ae593878a6f0ab" //} }
git add .
git commit -m "Update mailgun apiKey"
Last updated
Was this helpful?