I am taking emails id's on input form along with other details like name, address,contact no etc. Now, User can enter any email id's.
e.g. abc#abc.com
I can do check for standard domain whether is it present or not. but Is there any way available to check that email id exist or not?
Is there any API available??
How can i detect wrong email id's.
would be grateful for help...
The only valid solution to detect if an email address exists is to send an email and wait for answer.
Most of the times you also want to be sure that your user is the owner of the account, and this solution does both checks.
You can't do this client-side only, you'll need a server-side API. Precise your language (or google "send email yourLanguage").
The way to check is to send a link to that email, user clicking on that link verifies if email is valid or not. Invalid emails won't response of course.
If email is valid and user clicks on the link you send him, you can register him or do any other action you want.
Related
I have a sign up form where a user is required to type their email and password. Firebase won't let you create a user if their email and password don't meet certain conditions, namely, it should be a valid email and a password should be strong enough. On top of that validation I have that of my own. What I would like to do actually is somehow inform the user about those validation errors thrown by Firebase.
Problem: I can show the firebase errors only after the submit button is clicked.
It would be nice if it were possible to do this before a form submit. That's to say, if a number of symbols typed by a user in the password field is less than 6 the user should be notified about that.
So I think it would make sense to listen to what a user types and when they stop, make a request to some endpoint that returns an error object if the values entered don't meet the criteria. The responsibility of this request is to validate the fields and that's it.
Is it possible to make such a request in Firebase? From what I know it's impossible but I'd like to make sure, perhaps there're some nice workarounds or something.
This is something you're going to have to code up on your own. The Firebase SDK isn't going to make this any easier for you. I suggest being prepared to handle rejected promises from the call to createUserWithEmailAndPassword in order to determine if there's a problem with what the user entered, and prompt the user accordingly.
Basically i'm creating a website for a friend and he needs a "Contact Us Page", i'm using bootstrap studio and I have a page where you enter your name, and email. But i'm having trouble with the next part. I need the page to open the client's default email program to compose to a certain address with the entered name and email already in it how would one go about this?
simply do something like this
Click Here To Email!
if you want the email to be sent via a form submission you either need to setup a backend that will do that or you can use a service like https://formspree.io/
I've used them before, but I'm not certain what they're rules are about data privacy so its really up to you.
As I wrote in the title, is there any way to do that?
For example, Let's say I make some form tags that users will be typing their names and email addresses and submit button with html.
And the user inputs will be sent as an email to my email address as they press the submit button.
I think it is a dangerous thing to try because of security reasons but I wanted to know if there is such a way to do so.
Thanks!
I'd like to confirm a user's email using Cloud Code. The problem is I don't want to use Parse's method, being that you can only customize the text and not the email itself.
I'm looking for a way to generate my own "confirm email" link similar to how Parse does it, and use cloud code to send an email through send grid (a customized email), etc. Does anyone know how to get started with generating the link?
I know how to generate a session token and username, but other than that I'm a bit stuck. Thanks!
You can customize the emails and password reset page, etc. Check out this blog post for a bit more info: http://blog.parse.com/learn/engineering/express-your-brand-with-parse/
A lot of times you get a form where you need to enter an email address (or other form field) twice in order to confirm that you typed it correctly the first time. Some forms disable the copy and paste action (via javascript) in the browser to force the user to type the email address again.
Personally I find this highly annoying. What are your thoughts? Are there other options?
If you really want to check the email address you could implement a confirm email address function, which sends an email to the provided email address. The email could contain a link which allows the user to confirm his/her email address.
For obscured fields like password fields, it is always best to implement a double entry input field in case the user made a typo.
I find it highly annoying as well since, in many cases, the initial entry was done from an autofill that I know is correct.
Please note that this should be a community wiki!
I think it depends on the site, if its something like a commerce site, I'd support disabling the copy and paste because if the address is typed in wrong it can cause pains for both the site and the customer. It's easier for everyone to just inconvenience the customer for 2 seconds during the process instead of having to deal with it later.
I personally disagree with disabling the copy and paste thing. If the user enters the wrong email twice and identically (worst case scenario) it's his fault really.
You should just believe the user. If he mistypes the address, live with it.
First of all, if you confirm registration by sending an email, on the “Now wait for an email and click a confirmation link there” screen you can still show the address to which an email was sent. It can be followed by a link “Oops, mistypes my email address” letting you to correct yourself.
Second, if you use email for notifications, user will not get them, and, curious, he will go to his/her profile settings to check the notification parameters. You just have to make sure that “E-mail” input is next to “Get notifications” checkbox.