Send newsletter to multiple subscribers with same email but different name
Is it possible to create a newsletter which send the same newsletter to a list, containing several instances of the same email, but with different names.
I managed to create a subscriptionprovider, which runs through a list from a .txt file with each name and email on each line
And it returns a list with the corrent numbers of subscribers
public override List<Receiver> GetSubscribersForSendOut(string listItemValue, SendOutParams parameters) { var list = new List<Receiver>(); string filePath = HostingEnvironment.MapPath("/External/udsendingsliste.txt"); if (filePath != null && File.Exists(filePath)) { var subscriptionList = new StreamReader(filePath); string line; int count = 10000; while ((line = subscriptionList.ReadLine()) != null) { string[] subscriber = line.Replace("\t","").Split(';'); string name = subscriber[0]; string email = subscriber[1]; if (Common.IsValidEmail(email)) { list.Add(new Receiver { DataProviderKey = count.ToString(), Fullname = name, Email = email }); count++; } } } return list; }
But when I send the newsletter to this list, mails which are doubles, gets deleted, and it only sends the mail one time, for each email.
I know it's a wierd case, but the reason for this, is that it is a mail that is emailed to a system-mailbox, where it gets sorted by the name of the reciever.
Varje mailing list kan endast innehålla 1 (en) förekomst av en e-post - eventuella dubbletter kommer att raderas. Om man sedan försöker skicka till 3 listor där en viss e-post finns med i samtliga av dessa så kommer det endast skickas en gång per e-post.Problemet du beskriver ovan är tyvärr inget som, på ett enkelt sätt, går att hantera med Newsletter Studio.
Bottom line to the swedish text is: no it can't be done :-)
I've just answered you PM as well. No matter if you manage to "feed" Newsletter Studio with multiple emails the "send out"-engine will filter all duplicates before sending. The most common use-case for that filter is if a email is in multiple lists that are all selected you probably don't want to send to the same email multiple times.
I'm sorry but the case that you have is not really something that Newsletter Studio (or any other service as I know) can handle.
According to Mail - RFC an E-Mail has a display-name before the called addr-spec. The addr-spec itself must be in <>. In your case just form these E-Mail-Adresses
Send newsletter to multiple subscribers with same email but different name
Is it possible to create a newsletter which send the same newsletter to a list, containing several instances of the same email, but with different names.
I managed to create a subscriptionprovider, which runs through a list from a .txt file with each name and email on each line
ex:
Hans; [email protected]
peter;[email protected];
susanne;[email protected]
And it returns a list with the corrent numbers of subscribers
But when I send the newsletter to this list, mails which are doubles, gets deleted, and it only sends the mail one time, for each email.
I know it's a wierd case, but the reason for this, is that it is a mail that is emailed to a system-mailbox, where it gets sorted by the name of the reciever.
Oh....just recieved an answer from Markus
Varje mailing list kan endast innehålla 1 (en) förekomst av en e-post - eventuella dubbletter kommer att raderas. Om man sedan försöker skicka till 3 listor där en viss e-post finns med i samtliga av dessa så kommer det endast skickas en gång per e-post.Problemet du beskriver ovan är tyvärr inget som, på ett enkelt sätt, går att hantera med Newsletter Studio.Bottom line to the swedish text is: no it can't be done :-)
Hmm... need to find another way then.
Hi!
I've just answered you PM as well. No matter if you manage to "feed" Newsletter Studio with multiple emails the "send out"-engine will filter all duplicates before sending. The most common use-case for that filter is if a email is in multiple lists that are all selected you probably don't want to send to the same email multiple times.
I'm sorry but the case that you have is not really something that Newsletter Studio (or any other service as I know) can handle.
// m
Hey Markus
Yeah I recieved your email, the same instance I pressed "submit" ...
@Kristoffer Eriksen: There is a workaround.
According to Mail - RFC an E-Mail has a
display-name
before the calledaddr-spec
. Theaddr-spec
itself must be in<
>
. In your case just form these E-Mail-AdressesSo now you don't have duplicates because Newsletter Studio tests the complete E-Mail-Adress.
Best regards, Marcel Lüscher
is working on a reply...