Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Emailing to multiple people
Message
 
 
À
11/11/2022 20:02:22
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01685304
Message ID:
01685307
Vues:
24
>>Hi,
>>
>>In my ASP.NET application, I set up to email to a string containing 3-4 email addresses. Example of the email-to string:
>>"name1@company.com; name2@company.com, name3@company.com"
>>
>>But only the last name (e.g. name3@company.com) receives the email.
>>
>>Why, do you think, this happens?
>
>1. You have a comma instead of a semicolon in your string, as a separator
>2. Your e-mailing routine does not accept multiple addresses in the To: field
>3. Spam filters blocking your mail sent to the first 2 addresses
>4. Mail to first 2 addresses going to junk mail folders

I updated my initial message. But I suppose it was too late for you to see it.
None of the above is the cause.
I simply parsed the email string (by the character ";") and used the method .add of the .NET. Therefore, now the email to multiple email addresses defined in one string works.
Thank you for your message.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform