I have the following cloud function:
Moralis.Cloud.define("confirmEmail", (request) =>{
Moralis.Cloud.sendEmail({
to: request.params.email,
templateId: 'd-ba714320f5844bca92e696e24d4a2cb5',
dynamic_template_data: {username:request.params.username}
});
})
I’m seeing this in the logs:
- 2021-05-03T13:44:13.335Z - Ran cloud function confirmEmail for user undefined with: Input: {“email":"[email protected]”,“username”:"[email protected]"} Result: undefined
- 2021-05-03T13:44:13.333Z - Failed to send email because no mail adapter is configured for Parse Server.
My Server URL is: https://jcubkyk1bhis.moralis.io:2053/server