heroku - Password-Reset / Parse-Server -
i moved app parse.com parse-server. has users , have issue send password-reset mails. getting message:
i read on net need change index.js. have no index.js @ point. need make password-reset mails work? have account on mailgun, needed far have read, solve issue.
in order support password reset need define email adapter inside index.js file. index.js file located under root folder of parse-server project. index.js file parseserver being initialized. email adapters supported parse-server sendgrid , mailgun
adding email adapter pretty simple:
- install relevant email adapter module. enter npm install {email_module_name} --save in parse-server project folder
- open index.js file , go parseserver being initalized , add property verifyuseremails: true
- add emailadapter parseserver being initialized
emailadapter: { module: 'parse-server-simple-mailgun-adapter', options: { // address emails come fromaddress: 'parse@example.com', // domain mailgun.com domain: 'example.com', // api key mailgun.com apikey: 'key-mykey', }
Comments
Post a Comment