Questions tagged [email-address]

An email address identifies an email box to which email messages are delivered.

The universal standard for the format and meaning of an email address today is the model developed for Internet electronic mail systems since the 1980s, but some earlier systems, and many proprietary commercial email systems used different address formats.

201 questions
3
votes
3 answers

Using email-address as loginID to sign on to an asp.net application

I am working on the login component of my asp.net application and part of the requirements is that the email-address would be used as the loginID. For my "Customer" object, should I have a LoginID & an EmailAddress property or just EmailAddress?…
DNR
  • 3,706
  • 14
  • 56
  • 91
2
votes
2 answers

Regex to catch email addresses in email header

I'm trying to parse a To email header with a regex. If there are no <> characters then I want the whole string otherwise I want what is inside the <> pair. import re re_destinatario = re.compile(r'^.*?.*)>?') addresses = [ 'XKYDF/ABC…
Clodoaldo Neto
  • 118,695
  • 26
  • 233
  • 260
2
votes
3 answers

Remove everything except characters between '<' & '>,' in Vim -- extract email addresses from Gmail "To" field

I have a comma-delimited list of email addresses with each actual address prepended by the contact's name (from Gmail). Here's an example: Fred Flintstone , Wilma Flintstone , Barney Rubble…
paragbaxi
  • 3,965
  • 8
  • 44
  • 58
2
votes
1 answer

How can I read the original value of an input field with type email without the Umlaut conversion?

I have a html input element on my page in which the user can enter his e-mail address: I do not send this field via the form directly but read it into a variable with javascript like this: let…
Mathias Bader
  • 3,585
  • 7
  • 39
  • 61
2
votes
2 answers

PostgreSQL: Match Email Addresses With or Without Subdomains

Scenario For most of its history, my company used subdomains in the email addresses, mostly by state, but others had division subdomains. A few examples of what we had…
Michael Sheaver
  • 2,059
  • 5
  • 25
  • 38
2
votes
2 answers

How do I remove 'plus' tags from email addresses in a MySQL query?

I have a table containing email addresses where some of them contain 'plus' tags - for example, email ---------------------- user1@example.com user2@example.org user1+test@example.com I need to be able to query the table and receive the email…
metadaddy
  • 4,234
  • 1
  • 22
  • 46
2
votes
7 answers

validate that an email address contains "@" and "."

i need to validate that an inserted email address contains "@" and "." without a regular expression. Can somebody to give me "java code" and "structure chart" examples please?
r.r
  • 7,023
  • 28
  • 87
  • 129
2
votes
1 answer

how to do the validation of email id in MFC?

I used this code for validating email id , im getting few errors i dono how to solve it,,, im new to MFC,, if im silly pls forgive me BOOL CMailDlg::Validate(CString m_sFrom) { m_sFrom = NulltoString(m_sFrom); CString strRegex =…
Hemanth
  • 413
  • 7
  • 17
2
votes
1 answer

Obscure email addresses in a sentence

I am outputting log messages and need to obscure the email addresses in them. A log message might look like this: A lead was saved for sharon.davis@example.com, Date: 11th December 2019, Service: Car Hire ( Premium ), Extras: NA, Price: £300 I am…
Collins
  • 1,069
  • 14
  • 35
2
votes
6 answers

Pattern matching email address using regular expressions

Filter email address with regular expressions: I am new to regular expressions and was hoping someone might be able to help out. I am trying to pattern match an email address string with the following format: FirstName.LastName@gmail.com I want to…
Brad
  • 43
  • 1
  • 1
  • 4
2
votes
1 answer

Django Djoser: Email address reset

I am using username for primary identification. However, users also have email addresses. I would like to know how can I set up "email address reset" so that users can change their email addresses. This functionality seems obvious to me but I did…
Teddy Markov
  • 266
  • 3
  • 15
2
votes
2 answers

Safe delimiter for dsv of email addresses

I need to use/store a delimiter separated value string (not csv) of email addresses. I need to choose a delimiter that is safe. E.g. bar@foo.com,baz@foo.com, - comma in this e.g. is unsafe as it's valid within an email address. It seems that almost…
grokky
  • 8,537
  • 20
  • 62
  • 96
2
votes
1 answer

Where is the + in email addresses defined?

I know that email addresses, in the local part (before the @ sign), can include a +. And everything after the + can be used by the email system for filtering and other uses. But the email itself is delivered per the part before the +…
Larry K
  • 47,808
  • 15
  • 87
  • 140
2
votes
3 answers

How do I generate long valid email address?

What I mean: $ php -r 'var_dump(filter_var(str_repeat("a", 64) . "@gmail.com", FILTER_VALIDATE_EMAIL));' Command line code:1: string(74) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa@gmail.com" $ php -r…
x-yuri
  • 16,722
  • 15
  • 114
  • 161
2
votes
5 answers

Does this e-mail-regex exclude valid addresses?

I tried to create a regular expression which catches all RFC-valid addresses but it's ok if some false-positives come through (though hopefully not so many). This is waht I came up so far: /^\b\S+@\S+\.[^\s@]{2,}\b$/ Is there any RFC-valid address…
neo
  • 1,260
  • 11
  • 22