Questions tagged [email-validation]

Email validation is the process of deciding whether a given string is a valid email-address or not. This is distinct from email verification, which is necessary to determine if a given email address really exists, and (usually) whether a particular person has access to it (e.g. during an account signup process).

1243 questions
-1
votes
4 answers

How to validate email (internationally)

I am creating contact form and there I have input field, type email. In the future, I am planing to save this email and all other data into database. Therefore I have a question on how to validate that email properly in PHP? -It has to accept utf-8…
-1
votes
2 answers

How to get valid email id

Hello i want to know the email id is working or not. for example if i am writing mihir@gmail.com then how could i know that this is valid email id it means it is already exist on web or not?? i want to do it without sending email to user
Mihir Palkhiwala
  • 2,586
  • 3
  • 37
  • 47
-1
votes
1 answer

htaccess only send Email with special domain

is it possible to check the Url with regex to validate? URL looks: https://www.example.com/secure/index.phpID=name@specialDomain.com in the domain our marketing division can input an mail address only with -> @domain.com or domain-marketing.com .…
-1
votes
1 answer

Catastrophic Backtracking error validating email address

I need to find a regular expression that validates an email address in the simplest form and the email address should not exceed 250 characters. Here is what I came up with so far. (?=.{1,250}$)(.+)@(.+){2,}\.(.+){2,} The problem is this…
rawel
  • 2,923
  • 21
  • 33
-1
votes
2 answers

Email validation in Javascript for a specific scenario

I have tried approximately all the regex solution but I am still able to bypass the validation for the below email - test_test_test@yaho..co.uk I need to mark this email as invalid using Javascript. Please share the correct regex that I can use to…
aforankur
  • 1,291
  • 1
  • 15
  • 27
-1
votes
2 answers

Why FILTER_SANITIZE_EMAIL is not removing invalid characters from invalid email address?

I'm studying PHP from w3schools PHP tutorial. In a chapter about PHP Filters I came across following program :
PHPLover
  • 1
  • 51
  • 158
  • 311
-1
votes
1 answer

Replace gsub to replace fixed string from another dataframe

I have a dataframe consisting of multiple unclean email addresses, for example 1) abc@gmailcom 2) def@yahoo.commm 3) fgh@yahoo.coin 4) xyz@gmail I want to use gsub to clean these emails with the use of another dataframe which will contains patterns…
-1
votes
1 answer

college edu email addresses validation with swift/firebase

So I am stuck with only allowing .edu college emails on my app. I already have it set as accepting any email but I want to change it to only accept .edu emails. Anyone have a function/code that could show me on how to do this? I would really…
-1
votes
2 answers

Email Validation in jQuery

I have used below code and it working fine please check below. $(".emailValidation").change(function(){ $('body .emailError').remove(); var emailVal = this.value; var filter =…
Pritesh Mahajan
  • 4,974
  • 8
  • 39
  • 64
-1
votes
2 answers

php mail not receiving the message

I'm not receiving the text from the form field. Anything im doing wrong ?
-1
votes
1 answer

Javascript function returns undefined as it should not be

I have function check dynamic input fields with a certain class. Those fields takes email address so checking if it is a valid email address. There could be many email field, if one of them fails against email address test, it should return FALSE,…
YahyaE
  • 1,057
  • 1
  • 9
  • 24
-1
votes
1 answer

Email Validation on user registration form

My code is not running properly. What am I doing wrong? Please suggest. Here is the code: elseif(!preg_match("/^[_\.0-9a-zA-Z-]+@([0-9a-zA-Z][0-9a-zA-Z-]+\.)+[a-zA-Z]{2,6}$/i", $email)) { $errorMsg= "error: You did not enter a valid email."; …
Anks
  • 7
  • 5
-1
votes
1 answer

mySql search "sub.domain.com" from "domain.com"

Summery: In MySql table Rows are domain.com domain.net stackoverflow.com I want to search "sub.domain.com" from table... How?? Detail: Hi, I am working on email validation script, I have a list of blacklist domains in array... Now i want to move…
Ypages Onine
  • 1,262
  • 1
  • 8
  • 8
-1
votes
1 answer

Failed to validate email address with regular expression

I would like to run my page to test out whether my validation works. However, it does not work with email address. I have added regular expression for email address. It doesn't validate fully. I entered a@live without typing .com it able to accept…
-1
votes
1 answer

UPDATED specific to this code on emailer submit button

Okay, so after I read your initial post i did an UPDATE to the code (in an attempt to make it read simpler) per my understanding because, again, i'm a newbie to this. And looking back now, that may be the problem. So I appreciate you patience;…