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
1 answer

Can my ip address be taken as spammer for using Net::DNS too much?

I have to check the validity of around 1 million email addresses, I don't care if the email is "deliverable", I just want to check if the structure is right and the domain exists. To accomplish this I'm using Email::Valid module with the option…
-1
votes
4 answers

How to use php function to report form abuse

I have a contact form on my website, and everything works like a charm. I am using a anti-injection validation script, that I suspect is supposed to send a notification when somebody attempts to use header injection. I have tested this thouroghly…
MRAISKY
  • 131
  • 1
  • 2
  • 12
-1
votes
1 answer

JSF Email Validation - Do not allow domains like yahoo, gmail, etc to be accepted

I already have an email validator that works alright to check format of emails in the form of regular expression. Now - I want to write another email validator in Java (since my application is on JSF, Glassfish 3.x) that does not allow…
DIM
  • 73
  • 1
  • 10
-1
votes
5 answers

Simple sendmail in php not working

just trying to find out why my code is not working. Of course I replaced the mail adress with my valid e-mail. Do you have a clue? The form seems to work but the problem is, that I do not get any mails in my inbox. This is the HTML-Part: …
-1
votes
1 answer

php email sanitize and validation not working

I have this php code if(filter_var($_POST['username'], FILTER_SANITIZE_EMAIL) !== false && filter_var($_POST['username'], FILTER_VALIDATE_EMAIL) !== false) { echo 'it is mail'; }else{ echo 'is is phone'; …
shalvasoft
  • 89
  • 1
  • 9
-1
votes
1 answer

AngularJS Email validation inconsistency

I have a situation where angular validation sees an email as valid although it's not. The condition that that validation sees valid is example@domain Are there situations where this is an acceptable address?
ctilley79
  • 2,151
  • 3
  • 31
  • 64
-1
votes
1 answer

Check if an email address is valid in OSX SDK

I am building an app for Mac OS X that brings in email addresses from an Excel file. Is there any method in the SDK that would allow me to check if an email is valid, e.g. a Hard Bounce? Something similar to using ping but for emails?
Nic Hubbard
  • 41,587
  • 63
  • 251
  • 412
-1
votes
1 answer

Ember Validation on models

As, I am using lots of models in my application, there are the cases like, I have to include 2 more models in the route and I merge them using RSVP. I used previously objectcontroller and now I am changing it to controllers... I'd like to replace my…
-1
votes
1 answer

email validation code is not running in server. but it runs in localhost

This is my code. I want to validate email. If enter email double redirect sorry.php page. This code worked in localhost. But when I upload into the server. It does not work.
-1
votes
2 answers

How to check whether given email address is invalid in action script 3?

I need to check whether given email address is invalid in action script. Following is the code/regex i came up with. private function isEmailInvalid(email:String):Boolean { var pattern:RegExp =…
-1
votes
1 answer

difference in regex logic

In my website, I am using the below regex to validate email. ^[a-zA-Z0-9]+[a-zA-Z0-9_.-]+[a-zA-Z0-9_-]+@[a-zA-Z0-9]+[a-zA-Z0-9.-]+[a-zA-Z0-9]+.[a-z]{2,4}$ My doubts are: Can I use the below regex for the same…
Arun
  • 3,640
  • 7
  • 44
  • 87
-1
votes
1 answer

regular-expressions for email validation

i am making a password and email page and need to validate the email with a reg-ex. my problem is the reg-ex i use will only validate to after the @ sign after that point all emails are valid,i need a full proof reg-ex that validates and makes sure…
-1
votes
1 answer

Regexp (query) for email gives syntax error when sing @

I'm using this simple regexp to validate an email in query, but it gives a syntax error because of the '@'. var regexEmail = '^[A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,4}$'; Is there a work around for this problem? EDIT Like I said, its the use of the…
Bouss
  • 205
  • 2
  • 9
  • 20
-1
votes
2 answers

Perl Script for Email validation?

I've created a perl script to validate email ids for my marketing team to send campaigns. The script is behaving erratically. For Example, I had validated 135 email ids on various dates, ****************************************** Date | Valid …
-1
votes
2 answers

Email validation in js with space in the end

I am using the following code for email validation, taken from jQuery By Example: function validateEmail(sEmail) { var filter = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/; if…
Neha
  • 305
  • 5
  • 23