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
4
votes
4 answers

Extract (multiple) emails from user-input text into the MailAddress format (.NET)

The MailAddress class doesn't provide a way to parse a string with multiple emails. The MailAddressCollection class does, but it only accepts CSV and does not allow commas inside of quotes. I am looking for a text processor to create a collection of…
Pat
  • 16,515
  • 15
  • 95
  • 114
4
votes
1 answer

Why does git ask for users' email address?

Why does git ask for users' email address, and include it in each commit?
Andrew Grimm
  • 78,473
  • 57
  • 200
  • 338
3
votes
1 answer

Remove domain from email using linux substring bash

I want to extract username from email. Example: johndoe@gmail.com The domain will always be @gmail.com, but the length of username can be different But I must use substring in linux bash (no grep, sed, cut, and others)…
ilovecode
  • 35
  • 4
3
votes
1 answer

Web2py - Using a Gmail address

I am beginner with web2py. I have just created a new project. I want to use a gmail address, let's say g@gmail.com. What do I need to modify ? mail.settings.server = 'logging' or 'smtp.gmail.com:587' # your SMTP server mail.settings.sender =…
Bobby
  • 31
  • 2
3
votes
0 answers

Unable to read attachments from email using Outlook Graph API v2 in C#

I am trying to read an email attachment using Microsoft Graph API(v2) but I am getting "Object reference not set to an instance" error I have verified the app permissions in Azure Active Directory and has all the permissions set mentioned in…
Dipti K
  • 31
  • 2
3
votes
0 answers

c# MailMessage From email address display name is not working

I tried to send an email and set display name of the from Email address. But when i received email in my client for instance gmail. Instead of display name i see email address without domain means From Email "FromEmail@abc.com" then when i received…
3
votes
1 answer

BASH: sort email address list by domain

I would like to sort an email address list in a file by domain in bash. $ cat file.txt abc@abc.net bbb@aaa.org aba@aaa.com aaa@aaa.com ccc@abb.com aba@abb.com abc@abc.com I tried with sort but it sorts only beginning with the username. $ sort…
6ickm8nit
  • 33
  • 3
3
votes
1 answer

Extract email addresses list from inbox using PHP and IMAP

Has anyone had this task ?? It should be common. I need to extract all the email addresses from a specific inbox accessible through imap. It's for marketing purposes (SMB, mailchimp). The addresses can be either in "from" or somewhere in the…
Eugene Lycenok
  • 603
  • 6
  • 14
3
votes
0 answers

check valid email and email domain in PHP

i want to see if lazar@hotmail.com23 is valid (it isnt) in the PHP code here: // Remove all illegal characters from email $Buyer_Email = filter_var($Buyer_Email, FILTER_SANITIZE_EMAIL); // Validate e-mail if…
Lazar
  • 99
  • 8
3
votes
5 answers

Interleave an array of email addresses avoiding items with same domain to be consecutive

I'm looking for an efficient way of sorting an array of email addresses to avoid items with the same domain to be consecutive, in C#. Email addresses inside the array are already distinct and all of them are lower case. Example: Given an array with…
Dbdj82
  • 58
  • 7
3
votes
1 answer

PhpMailer, ClearAddresses() won't work, message get sent to everyone

I am trying to send different messages to different users. I made an array of email addresses and while iterating through it, I want to send message2 to user2. While reusing the same mail instance, at the beginning of each iteration I declare $mail…
Edmond Tamas
  • 3,148
  • 9
  • 44
  • 89
3
votes
2 answers

How to validate list of string using EmailAddressAttribute in C#?

I have a class say "Request". It has two properties as given below. The email validation for Recipient works fine. However it does not work for Recipients. [EmailAddress] public string Recipient { get; set; } [EmailAddress] public List
Adarsh Kumar
  • 1,134
  • 7
  • 21
3
votes
2 answers

Is XSS possible through the MailAddress class?

Considering I parse user input, which is supposed to be an email address, into the MailAdress class: var mailString = Request.QueryString["mail"]; var mail = new MailAddress(mailString); Is there any possibility left for a cross-site-scripting…
magnattic
  • 12,638
  • 13
  • 62
  • 115
3
votes
2 answers

trailing dot in local part of email

In our online shop, we ran into a problem wherein a certain user can't purchase because of an "invalid email address". It looks like this: her.email.address.@docomo.ne.jp I think what's setting off the invalid email error is the trailing dot in the…
Obay
  • 3,135
  • 15
  • 55
  • 78
3
votes
3 answers

Convert non-ascii domain to SMTP compatible

When customers enter email addresses with non-ascii chars like äüö our SMTP rejects to process them. So I think might be there is a solution to handle those domains myself and convert them to punyocode. Is there a simple way of doing so using…
kcode
  • 1,220
  • 1
  • 18
  • 34
1 2
3
13 14