I'm new to Android programming and I'm currently working on an app that requires the user to enter a valid email address that is valid in terms of existence in servers and not the syntax. I want something like what the default phone client uses to verify and initialize usage of email addresses.
Asked
Active
Viewed 386 times
-2
-
you need web service to check email id is valid or not to communicate with the server. – Farhana Naaz Ansari Jan 23 '18 at 05:02
-
@farhana how exactly do I do that? – Kennedy Kambo Jan 23 '18 at 06:10
-
And I also don't get why I've been down voted – Kennedy Kambo Jan 23 '18 at 06:10
-
your web developer give you URL or API or web service where you can post your email id and the server will respond you that email id is valid or not. I think you have to learn about asyn task,volley are the ways to communicate to the server, In which you web URL is passed to communicate – Farhana Naaz Ansari Jan 23 '18 at 06:12
-
Ok ill look into that though its still a bit unclear but ill get back to you. – Kennedy Kambo Jan 23 '18 at 06:16
-
can you check this link, It will help you to learn how to communicate to the server http://androidtechpoint.blogspot.in/2017/01/android-app-for-login-sign-up-using-volley-and-php.html – Farhana Naaz Ansari Jan 23 '18 at 06:19
-
nothings helping.Ive been looking around and some apps are using smtp to do this.Anyone with an idea on how to implement this? – Kennedy Kambo Jan 26 '18 at 12:29
-
I dont have a server to confirm the emails from so i want something thatll check against other servers for existence of emails.Or at least some other way to do it.Please help – Kennedy Kambo Jan 26 '18 at 12:30
-
Does this answer your question? [How to check programmatically if an email is existing or not](https://stackoverflow.com/questions/11120350/how-to-check-programmatically-if-an-email-is-existing-or-not) – tripleee Jan 24 '20 at 08:25
2 Answers
0
To check if email exists or not from server end, you can hit API and API will return if email is already exists or not.

Ankit Chandel
- 69
- 4
0
Check out this service's API: https://market.mashape.com/mr_admin/email-verifier. Note, it's a paid service for >20 checks/day, which might rule it out, but on the plus side, they've done a lot of work for you. Note that no method is going to be 100% accurate.

see sharper
- 11,505
- 8
- 46
- 65
-
-
i mean that if i assume my company email id i.e., private mail id, if this email id is identified by any `API` , how could you say it is private mail id or secure. – ankit Jan 23 '18 at 05:31
-
@ankitaggarwal true of course, but that's a limitation of _any _ API, as you say. – see sharper Jan 23 '18 at 22:23
-
It's as right as any answer can be, unless you want me to say, "it can't be done", despite the fact that there's a service that provides a solution for all the public emails in the world, which is the vast majority of them! And then I note your answer also suggests the OP calls an API! – see sharper Jan 24 '18 at 23:17