Firebase email verification goes to spam folder - firebase

I made a mobile app and used Firebase for backend and authentication. When I use firebase's built in email verification, the email always goes to the junk folder / spam.
Does anyone know how to fix this?

That's weird. Firebase made restrictions to avoid this problem. Check here
Spam filters normally look for these things:
Subject Line: looking for common words and phrases associated with spam.
Content: looking for suspicious links, low text to image ratios, and other spammy hallmarks.
Metadata: looking at the To/From/CC fields, the sender’s domain, and embedded code.
IP address: looking for IPs that have been flagged frequently as spam by both filters and recipients in the past.
More Info
Ill suggest using your own domain to send emails. You can check this article on how to do this. You will also get the extra benefit of looking more professional.
Hope it helps :)

Have a look at the headers of the received email message. Typically, Antispam tools use headers to add the detail of the scoring elements that lead to the message being flagged as spam. This will give you insights on why this happens since reasons can be multiple and cumulative (Title, content, DNS, DKIM, etc.)

I had the same exact problem,
The problem is that your sender name is noreply#project.firebaseapp.com
and that made all my emails going to spam.
What I did was to visit my console
https://console.firebase.google.com/project/project_name/authentication/emails
which is the template tab of the Authentication page.
Click on the pencil icon and click on the Customize Domain
enter image description here
Add and verify your domain.
That will solve the problem

I fixed this issue by only changing the project name.
Go to your firebase project > Project Settings > Main page.
There you'll see some public settings, change the name of your project, the default will show something like "project-(yourProjectId)", put for example "Project Name".

Related

Firebase dynamic link with query parameters

I've been looking at replacing all the links in the firebase password reset and welcome emails with something more custom, so it doesn't look terrible for users (so moving from https://some-app-123f.firebaseapp.com to link.some-app.com).
I thought that the best way to do this might be to use the firebase dynamic links, so I set up link.some-app.com in there. All good so far.
I generated a new dynamic link directly in the web interface. This is basically going to be used for everyone, or that is my hope. Let's call that link link.some-app.com/email-link. I have then set this up to point to https://some-app-123f.firebaseapp.com/__/auth/action. Going to the first takes me to the second, all good so far. The links just open the web, not apps, and no interstitial page.
I can replace the "Action URL" in the email template with link.some-app.com/email-link. When I email a password reset, I get a link that looks like this: https://link.some-app.com/email-link?mode=resetPassword&oobCode=[hash]&apiKey=[key]&lang=en
However, when I click on this link in debug mode (adding d=1 to the end), I get a bunch of errors:
The format of parameter (mode) is not whitelisted for this domain.
So I thought that I could solve this by using the whitelisting feature on the link domain in the firebase console, so I've tried a bunch of different options, but these are the two most permissive (to cover both domain bases, though I am pretty sure I need to be whitelisting the target domain i.e. firebase)
^https://some-app-123f.firebaseapp.com.*$
^https://link.some-app.com/email-link.*$
Am I completely missing something? Is this something that just isn't possible because it is redirecting back to firebase?
tl;dr: I'm trying to create an effectively serverless redirect link to the password reset functionality in firebase using a prettier url than firebase gives you out of the box
Your URL patterns are incorrect. You haven't escaped . Your pattern should be
^https://some-app-123f\.firebaseapp\.com/.*$
You don't need to add the second URL to whitelist.
If an improper program from the Dynamic Links prevents redirection to the sites that are beyond your control then you need to whitelist the URLs where the Dynamic Links can redirect to. For more information regarding whitelisting URLs please visit the link enter here .

Can I form a direct URL to a particular Google account for which Gmail is disabled?

This existing question https://webapps.stackexchange.com/questions/18959/can-i-form-a-direct-url-to-a-particular-gmail-account is close to what I need, except that I don't want to go into Gmail since email is disabled for the institutional account I am using. I want to log into some Google App - ideally Google Classroom, second choice Google Drive - but I'll take any alternative to Gmail if it shows it can be done (sorry I don't have a full list of enabled Apps for my institutional account).
This suggestion from Eivind Eklund works when Gmail is available
https://accounts.google.com/ServiceLogin?service=mail&passive=true&Email=example#domain.com&continue=https://mail.google.com/mail/u/example#domain.com/
by which I mean it gets me into my Gmail with my personal account, and with my institutional account I get "We are sorry, but you do not have access to Email. Please contact your Organisation Administrator for access."
So, is there a URL that I can pre-populate with an account to get into a service other than Gmail? I thought perhaps if I changed service=mail to service=drive, and Email= to Account= then it might work, but this produces "The requested URL was not found on this server. That’s all we know." I could be guessing all day - I can find no documentation of what the alternative parameters might be. Can it be done?
D'oh! My colleague suggested "well let's give service=classroom a try". We then went into a particular class and copied the query string, so we can now generate direct URLs for each student (who likely won't know their ID) per class
https://accounts.google.com/ServiceLogin?service=classroom&passive=true&Email=MY_INSTITUTIONAL_ID&continue=https://classroom.google.com/c/Mzk3MTAzNzk2MDVa

Next Scripts Social Networks Auto Poster facebook

I would like to install Next Scripts: Social Networks Auto Poster, using wordpress and facebook. I did everything as described here
http://www.nextscripts.com/instructions/facebook-social-networks-auto-poster-setup-installation/
I am doing this for community in facebook. Everything was okey, but when I click "Authorize Your Facebook Account <=== Авторизировать ваш аккаунт ===",
I get this error:
Invalid Scopes: user_groups. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions
I authorized by a single login everywhere in facebook. The above link did not help me too.
Maybe somebody knows how to fix it?
user_groups got removed with v2.4 of the Graph API, you can´t use it in new Apps anymore. The replacement would be user_managed_groups. you may need to talk to the script creators about that, they have to change the permission.
Btw, "autoposting" scripts are usually not allowed, be careful with those and don´t spam.

Set up email for a customer.details to get from them

This could be a question related to my area, but I dont know where to ask. There will be a page in our customers website. When they come to that page it will be populated with many email addresses.There will also be an attachment of type PDF. And some email content.They have exchange set up. I know very little about this emailing.Some reason always found it confusing. I need to get some details(email settings) from them for this page to work. Also the email addresses that the page will populate WILL contain other than their own domain address.i.e. gmails,msns or yahoos etc. So what is that I need from them?More questions coming. If you need more info,please ask. Thanks
I would suggest using EWS Managed API to communicate with the Exchange server. It's really not that difficult to use once you get your connection established. All you need from them is there credentials for their mailbox, or you could set up a service account with impersonation if you don't want to use theirs.
Here are some resources to get you started:
Download the EWS Managed API
Read conceptual content and 'How To' topics
See how it's done by downloading sample code
The sample code shows how to authenticate with Exchange, send emails, and a whole lot more. The Exchange developer documentation team continues to post new 'How to' topics.

Track if the email is marked as spam

I have an asp.net autoresponder that sends emails to millions of subscribers. I want to track if a person mark my emails as spam. is there any way to do this?
Thanks in advance.
No, there isn't. After your mail has been sent to your receiver's SMTP server, there's no way to track it down anymore.
I know what you're thinking: how can some mail-clients track down wether an email has been read or not (e.g. in Outlook). They can do this by adding a little img-tag to their mails (html). When a user opens the mail, it'll open the path specified in the img's src-attribute. Since that's a script (like PHP or something), it can automatically sets a flag to 'seen' when a mail has been opened.
Of course, there are some other ways to track this down, but I think this is the most popular one.
However, this can't be done to check whether a mail has been rejected, deleted or moved to the spam-folder.
I would recommend http://www.mxtoolbox.com/ as an example of sites to use for checking if your server/sending IP is blacklisted.
You can also sign up for feedback loop services with major or relevant email providers for your list(s) to be informed when messages are reported as spam. Feedback loops are probably the best mechanism for the information you are trying to gather.
Example of a feedback loop and how to subscribe to it:
http://postmaster.aol.com/Postmaster.FeedbackLoop.php
I can't post more than 2 links but if you Google "feedback loop" and the name of the email provider you are likely to find what you need to sign up for their alerts.
Hope that helps.

Resources