0
votes

I had issues with Firebase verification emails going to the spam folder and I decided to change the email template like this:

Sender name: from 'noreply' to 'AppName'. From: from '[email protected]' to '[email protected]'

But I still get the old noreply emails. Any ideas why?

I send the email like this (Swift):

Auth.auth().sendSignInLink(toEmail: emailAddress, actionCodeSettings: actionCodeSettings)
1

1 Answers

0
votes

please check & let me know what you get.

        let actionCodeSettings = ActionCodeSettings()
        actionCodeSettings.url = URL(string: "firebase url") // firebase url looks like this firebase-productid.firebaseapp.com & firebase product id will find in googleservices-info.plist
        actionCodeSettings.handleCodeInApp = true
        actionCodeSettings.setIOSBundleID(Bundle.main.bundleIdentifier!)
        Auth.auth().sendSignInLink(toEmail:email, actionCodeSettings: actionCodeSettings) { error in
            if error != nil {
                print(error)
            }
            
        }