-
Notifications
You must be signed in to change notification settings - Fork 585
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
Document how to obtain htmlContent or PlainText of what was sent / will be sent when using dynamic templates #1025
Comments
I ended up using reflection and replaced the template variable in the application. Code looks something like this if anyone wants to use in the future / contribute towards a future method in the library. msgData is an anonymous object with data that is passed to the Template.
|
Hello @hbermani, Thanks for publishing your solution! This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog. With best regards, Elmer |
Internal tracking for creating an API endpoint: MP-6255 |
Issue Summary (Question)
I love SendGrid but I am really hitting a brick wall here. I imagine it's a common scenario in applications to want to show an audit trail / email correspondence history once an email is sent via SendGrid. I use dynamic templates to send emails and I am finding that I have one of two options:
Both options feel very long winded, is there an alternative simpler approach? For example...
I really welcome your thoughts and suggestions
Steps to Reproduce
Exception/Log
The text was updated successfully, but these errors were encountered: