Closed theolof closed 7 years ago
OK, I found out what the problem was.
I had
options['Recipients'] = [email];
which should be
options['Recipients'] = [{'Email': email}];
The error message could be more helpful than "500 Internal Server Error"...
I've started using Firebase Functions: https://firebase.google.com/features/functions/ It's basically a node.js server.
When I try to send an email, I get the following error response:
What can I do to fix this? I'm sending emails from the Java API successfully.
Here's the code I'm using to send the email: