question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Help understanding "Missing Sender" when trying to send password reset email

See original GitHub issue

[ Warning : Designer trying to code]

When I try to send a password reset email, I see the “missing sender” alert in my window and the “auth/invalid-email” error in my console to go along with it. I suspect that this has something to do with my email configuration. I did my darnedest to customize my email domain. I followed the steps in the firebase console, and my email client was verified.

As background, my problems first arose when I simply tried to click the ‘send password reset’ button from the firebase console, under the contextual menu for each user. This seems to be as far as I’ve made it, attempting to send the email programmatically. Any clues/hints/guesses offered would be greatly appreciated.

screen shot 2016-11-29 at 8 15 01 am screen shot 2016-11-29 at 8 15 08 am screen shot 2016-11-29 at 8 15 15 am

I apologize for the poorly formatted code, below, I’m not sure how to add returns and tabs.

function sendPasswordReset() { var email = document.getElementById('email').value; // [START sendpasswordemail] firebase.auth().sendPasswordResetEmail(email).then(function() { // Password Reset Email Sent! // [START_EXCLUDE] alert('Password Reset Email Sent!'); // [END_EXCLUDE] }).catch(function(error) { // Handle Errors here. var errorCode = error.code; var errorMessage = error.message; // [START_EXCLUDE] if (errorCode == 'auth/invalid-email') { alert(errorMessage); } else if (errorCode == 'auth/user-not-found') { alert(errorMessage); } console.log(error); // [END_EXCLUDE] }); // [END sendpasswordemail]; }

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:18 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
wuyannacommented, Dec 7, 2016

Hi Matthew, so the issue is that there is an invalid character comma (,) in the Sender name. Since the sender name is also a part of the sender address, it needs to follow the email address standard, and I think comma is a reserved token. After I removed the the comma in Sender name, it seems the issue doesn’t appear anymore.

1reaction
itispeachcommented, Dec 7, 2016

Woohoo! You rock! This has been killing me! It just worked for me as well. I can’t thank you enough for figuring that out. I’ll re-update my DNS records and see if my custom domain doesn’t work as well, as long as I keep the sender name the same. Sincerely, thank you for taking the time to help me,

Matthew

On Dec 7, 2016, at 3:27 PM, Yanna Wu notifications@github.com wrote:

Hi Matthew, so the issue is that there is an invalid character comma (,) in the Sender name. Since the sender name is also a part of the sender address, it needs to follow the email address standard, and I think comma is a reserved token. After I removed the the comma in Sender name, it seems the issue doesn’t appear anymore.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/firebase/firebaseui-web/issues/80#issuecomment-265593585, or mute the thread https://github.com/notifications/unsubscribe-auth/AQgMxdpxSTgOt1eRs3ZqiMiPs_gb9xLDks5rFzLPgaJpZM4K_Ggi.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Email for password reset requests not coming through from ...
I understand that you're not receiving password reset emails coming from specific senders/domains. Allow me to help you on how to remedy ...
Read more >
7 Password Reset Email Best Practices [With Example]
Password Reset Email Best Practices · Clear Subject and Sender Name · Prominent Reset Link Placement · Use CAPTCHA to Block Hacking Attempts...
Read more >
'Uncaught (in promise): Error: Missing sender' when trying to ...
The issue was that I updated the 'sender name' field in the firebase password reset template to be my company name.
Read more >
Password reset email: best practices + checklist & template
1. If a customer initiated the request, help them re-establish access to their account # · 2. If a customer didn't initiate the...
Read more >
Common login issues and how to solve them
Forgot your password? Go to the password reset page and follow the instructions on the screen. If you've tried to log in too...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found