question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SendGrid Dynamic template data method missing in sendgrid function template

See original GitHub issue

Missing method for adding dynamic template data when using dynamic template id

Example

           var dynamicTemplateData = new 
            {
                link = "www.example.com"
            };

            var message = new SendGridMessage()
            {
                TemplateId = Environment.GetEnvironmentVariable("SendGridTemplateId"),
                TemplateData = dynamicTemplateData //Missing
            };

Related information

https://github.com/sendgrid/sendgrid-csharp/issues/858

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
DjolePetroviccommented, Jul 14, 2020

Because they are not using the latest Sendgrid Nuget package as their dependency.

0reactions
msftbot[bot]commented, Nov 10, 2020

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sendgrid with Dynamic Templates Missing Data - Workflows
We're using Sendgrid v3 /mail/send to trigger warning emails to our team about events. However, I can't get the data to appear in...
Read more >
How to Send an Email with Dynamic Templates
Create a SendGrid account; Create an API Key; Add an unsubscribe group (optional). Design a dynamic template. Open the Dynamic Templates page and...
Read more >
SendGrid API - Cannot use dynamic template data with a ...
So I built my templates on their site, which was under a different ... and "Dynamic Templates" seem to be the newer preferred...
Read more >
Can't figure out Sendgrid Dynamic Template setup
I am trying to create a code and email it to a user using sendgrid. I have read through all the docs but...
Read more >
[SOLVED] SendGrid Dynamic Templates & Meteor Emails - help
Hi, I've created a basic 'Dynamic Template' in SendGrid for email ... the URL that Meteor generates in its 'sendVerificationEmail' function.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found