Firebase not sending emails? - firebase

I can't get Firebase to send verification emails, anyone with the same issue?
I've created an account, enabled Email/Password, and added users.
However, when I go to the Users tab in Authentication, chooses a user and presses Reset password, Firebase tells me, that the email is send, however I never receive it?
I've tried with multiple different emails (gmail, hotmail etc) and looked through spam etc, however I never receive the email. What am I doing wrong? Some setting somewhere I need to tick-off? Rookie question, I know, but frustrating. Thanks!!

I get the same problem with an user, he didn't receive any email with his work email address from Firebase magic link authentication.
I'm still using Firebase as provider but I think to integrate with sendgrid soon.

Related

Firebase Authentication - users not receiving verification emails

I have built an app that uses email & password authentication from Firebase, to enable users to log in, as per the Firebase documentation. The app itself uses Flutter as the coding language. I also have email verification enabled, to prevent spam accounts.
When a user adds their email address and password and clicks 'submit', they're given a notification telling them to check their emails for the verification link, which they must do before being allowed to log in.
The problem I am having is that users do not receive the verification email, so cannot log in. I've come across similar questions on this forum, where the answers have centred around checking spam/junk folders. I have asked the users to do this but they still have not received the email.
I've also tried using my own SMTP server, which is one from which I know I can send emails. Even with this, the users do not receive their verification email. This makes me think the emails aren't being generated/sent, as opposed to them being sent and not being received.
Can anyone suggest why this might be the case? Why is it that users are not receiving the verification email and what can I do to correct this?
If you don't use custom domain, sometimes emails go in spam folder

Remove excess information in verification email sent to users?

The email sent to users to verify is
https://YOUR_APP_ID.firebaseapp.com/__/auth/action?mode=verifyEmail&oobCode=sGgyIp-CMasddaNXGw4daIt5kASKDJasdhoq3rysAAAF06gx6Jg&apiKey=API_KEY
Is there any way to remove or shuffle them? I really don't want anyone seeing my project ID and the other information from the link
That's not a feature that Firebase Authentication offers for email verification links. You can file a feature request with Firebase support to express your opinion.

Firebase Auth Email Verifications not being sent to certain email providers (iCloud, possibly others)

I have a new site in production, using Firebase Auth. Email verifications are triggering successfully for the vast majority of people.
However, they are NOT triggering for people with #icloud.com email addresses. I have verified this by creating an iCloud email address and triggering the email verification. Nothing comes through.
The email DOES come through for my various #gmail.com addresses.
There may be other email providers this is also failing for. There are a number of users with unverified email addresses, particularly with uncommon domains like #y7mail.com, or custom domains (so I can't tell what provider they're on).
I cannot find any logs for this service, so I can't see why it's failing. I'm really at a loss as to what to do. Has anyone run into this issue, or can provide any clues?

Firebase Authentication: Emails sent but not received on special email addresses such as *#gmx.at

I am using Firebase Authentication in my Ionic App. Some users have reported to not receive the verification email which is sent after a user signs up, or when the resendVerificationEmail is triggered.
This works fine for email providers like #gmail.com or #live.de, but for those other users with special providers like #gmx.at it's not working. The emails are sent successfully according to firebase but they are never received.
Possibly the emails get filtered?
Has anyone else ran into this problem? The message template can not be modified but would using a custom SMTP server possibly help?
The problem is solved by using my own private SMTP server for sending the Authentication emails.
I am using a hosting service for my domain that comes with email service so I am using that one. Using other services such as Mailgun or Mailjet etc. might also solve the problem.
You can set up your custom SMTP server right in the firebase console under Authentication/Templates.
I had the same problem with others emails providers (orange.fr sfr.fr free.fr ...). After deeper analysis, it appeared that it is the domain address inside the (generated) link that is detected as SPAM by emails providers (maybe everything that sounds like *.firebaseapp.com)
https://your-subdomain.firebaseapp.com/__/auth/action...
I changed it to a custom one of mine (through Authentication->templates->"Customize action URL" (bottom right)):
https://www.my-custom-domain.com/__/auth/action
and no more problem!
Some doc (note on blue background):
https://firebase.google.com/docs/auth/custom-email-handler?hl=en&authuser=0#link_to_your_custom_handler_in_your_email_templates

Meteor Accounts new user verification link expiry

I am using Meteor Accounts in my application to send welcome emails with verification link, I wonder if there is any way to configure the number of hours/ days after which the verification link expires?
Also I noticed that whenever I click on verification links, I get message that the verification link expired. I noticed this is also reported by many other developers so I was wondering if there were any fix for this issue?

Resources