sendgrid / sendgrid-csharp

The Official Twilio SendGrid C#, .NetStandard, .NetCore API Library
https://sendgrid.com
MIT License
1.09k stars 586 forks source link

AddSubstitutions #711

Closed jitu027 closed 6 years ago

thinkingserious commented 6 years ago

Hi @jitu027,

Could you please provide some context around the issue? How can we help?

Thanks!

With Best Regards,

Elmer

jitu027 commented 6 years ago

Hi Elmer ,

Thank you for your response.

We are using Send Grid API to send bulk emails, While sending emails we are using one tag in mail body and our requirement is to change the tag {name} for different emails and we were unable to change the tag. And this is working fine for single Email but unable to replace tag in bulk email case. Please help us in this regard.

Also we are getting an error while creating a dictionary and passing multiple keys and getting an error as "In dictionary, you can add unique key"

On Wed, 25 Jul 2018, 2:19 a.m. Elmer Thomas, notifications@github.com wrote:

Hi @jitu027 https://github.com/jitu027,

Could you please provide some context around the issue? How can we help?

Thanks!

With Best Regards,

Elmer

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sendgrid/sendgrid-csharp/issues/711#issuecomment-407547309, or mute the thread https://github.com/notifications/unsubscribe-auth/AnrouOPiIa9GJ-ekJyZskKhZyf3Q3dV9ks5uJ4hygaJpZM4VcIgP .

thinkingserious commented 6 years ago

Hello @jitu027,

A few more questions to help get you started:

Thanks!

With Best Regards,

Elmer

sarahannnicholson commented 6 years ago

I believe the issue is that the Legacy templates used to support personalization/substitutions.

Do the new Transactional templates support the same feature?

There is an example of substitutions here

thinkingserious commented 6 years ago

Thanks for helping out @sarahannnicholson!

thinkingserious commented 6 years ago

@sarahannnicholson,

Please follow this issue for progress. Thanks!