Yes, you’re getting that error because you need to configure an email adpater before you can send emails.
If you’re looking for a quick solution, maybe check out back4App as a hosted solution, so that you don’t really need to worry about this stuff.
I was previously using the parse-server-ses-sdk-adapter
, but recently changed to the parse-server-api-mail-adapter
, which has been brought into the parse community org (if I have my facts straight), so maintenance is less of a worry.
Here’s the way I configured the parse-server-ses-sdk-adapter
:
emailAdapter: {
module: "parse-server-ses-sdk-adapter",
options: {
credentials,
format: config.mail.defaultFormat,
fromAddress: config.mail.fromAddress,
domain: config.AWS.sesVerifiedDomain,
region: config.AWS.region
}
}
To configure parse-server-api-mail-adapter
, you can checkout the repo - it’s all pretty self explanitory:
I hope this helps.