Have you configured your email adapter?
Take a look at: https://github.com/ParsePlatform/parse-server
Verification and email password reset
Checking users email addresses and enabling the reset password by email requires an email adapter. As part of the parse-server package, we provide an adapter for sending e-mail through Mailgun. To use it, register with Mailgun and add it to your initialization code:
var server = ParseServer({ ...otherOptions, // Enable email verification verifyUserEmails: true, // The public URL of your app. // This will appear in the link that is used to verify email addresses and reset passwords. // Set the mount path as it is in serverURL publicServerURL: 'https://example.com/parse', // Your apps name. This will appear in the subject and body of the emails that are sent. appName: 'Parse App', // The email adapter emailAdapter: { module: 'parse-server-simple-mailgun-adapter', options: { // The address that your emails come from fromAddress: ' parse@example.com ', // Your domain from mailgun.com domain: 'example.com', // Your API key from mailgun.com apiKey: 'key-mykey', } } });
You can also use other email adapters provided by the community, such as parse-server-sendgrid-adapter or parse-server-mandrill-adapter.
Add this to the parsing server instance, if you download the parser from git, it will initially look lower.
var api = new ParseServer({ serverURL: process.env.SERVER_URL, databaseURI: databaseUri || 'mongodb://localhost:27017/dev', cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js', appId: process.env.APP_ID || 'myAppId', masterKey: process.env.MASTER_KEY || ''
So, add the first code snippet to the bottom of the above sample.
var api = new ParseServer({ serverURL: process.env.SERVER_URL, databaseURI: databaseUri || 'mongodb://localhost:27017/dev', cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js', appId: process.env.APP_ID || 'myAppId', masterKey: process.env.MASTER_KEY || '', //Add your master key here. Keep it secret! verifyUserEmails: true, publicServerURL: 'https://example.com/parse', // Your apps name. This will appear in the subject and body of the emails that are sent. appName: 'Parse App', // The email adapter emailAdapter: { module: 'parse-server-simple-mailgun-adapter', options: { // The address that your emails come from fromAddress: ' parse@example.com ', // Your domain from mailgun.com domain: 'example.com', // Your API key from mailgun.com apiKey: 'key-mykey', } } });