Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status "success" but no mail is sent #273

Open
SarahDelCastillo opened this issue Mar 4, 2024 · 1 comment
Open

Status "success" but no mail is sent #273

SarahDelCastillo opened this issue Mar 4, 2024 · 1 comment

Comments

@SarahDelCastillo
Copy link

Hello,

I'm trying to send mail to a single user from a Firebase cloud function, nothing fancy.
When I run the code locally on my computer the email is sent.
But when the same code is run by Firebase, despite this response:

{
  "Messages":[
    {
        "Status": "success", "CustomID": "", .....
    }
  ]
}

no mail arrives to the recipient, and nothing appears on the dashboard. There's no error whatsoever, I can't find the issue.
It's surprising since the exact same code works perfectly when run "manually".

@SarahDelCastillo
Copy link
Author

I found out that the issue in my case was that I was using the wrong API keys, meaning that the sender email was not a valid one.
It would be great if the API told us that instead of just returning "success"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant