swethabalda

Email Validation for Signers

0 votes
Hi, Can we know what all email validations are using ( example:[email protected], .in , .org)

Reply to: Email Validation for Signers

0 votes
Hi, Here's the validation esignlive does on signer emails: Complete email: ^\s*?(.+)@(.+?)\s*$ User part: ^\s*(((\\.)|[^\s\p{Cntrl}\(\)@,;:'\\\"\.\[\]]|')+|("(\\"|[^"])*"))(\.(((\\.)|[^\s\p{Cntrl}\(\)@,;:'\\\"\.\[\]]|')+|("(\\"|[^"])*")))*$ Domain part: ^(?:\p{Alnum}(?>[\p{Alnum}-]{0,61}\p{Alnum})?\.)+(\p{Alpha}(?>[\p{Alnum}-]{0,61}\p{Alnum})?)\.?$ Max length: Complete email: >= 6 User part:
Haris Haidary OneSpan Technical Consultant

Reply to: Email Validation for Signers

0 votes
Hi , I have tried validating the domain regex provided above with test data using online tool. Am not successful in getting the correct validation. We encountered an error 'Invalid email' when we tried to send email "[email protected]". So we thought of having validation of email from our side to send valid emails. Can you help me out with this? Thanks, Swetha

Reply to: Email Validation for Signers

0 votes
Hi Swetha, The regular expression above is the one eSignLive uses. I would suggest reading it using a regex cheat sheet instead of an online tool: http://www.rexegg.com/regex-quickstart.html Now, if you want to validate email addresses on your end, then the easiest way is to build your own regular expression: https://stackoverflow.com/questions/46155/how-to-validate-email-address-in-javascript
Haris Haidary OneSpan Technical Consultant

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off