Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to send multiple emails to the same address with different values? #180

Open
MattMessmerBlossor opened this issue Oct 10, 2016 · 0 comments

Comments

@MattMessmerBlossor
Copy link

I'm trying to minimize the number of requests I send for performance. I have a list of emails I want to send where the same email address may show up multiple times, but with different content (and therefore different recipient variables). Is there any way I can use variables for multiple emails for the same email address?

For example, if I'm going to send three emails to two people, the variables might look like this:

emailMessage.AddRecipientVariable("[email protected]", "foo", "bar");
emailMessage.AddRecipientVariable("[email protected]", "foo", "bar2");
emailMessage.AddRecipientVariable("[email protected]", "foo", "bar3");

Even though the same template is used for each recipient, and the same variables are used, different values are used, even when the recipient is the same. Right now, the second line will overwrite the first (understandably), but I'm looking for a way around that. Hopefully that made sense. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant