Is it possible to repeat the collection via the SendGrid API?

I want to dynamically generate a table with an undefined number of rows (based on the length of the collection) in a SendGrid template. Is it possible to do this in a template?

Is there a way to iterate over a collection?

+3


source to share


1 answer


Unfortunately not with SendGrid templates, but you can use an API / Service template (like sendwithus ) which can support more complex template languages.

The docs are here in case you're interested: https://www.sendwithus.com/docs



These and similar services run on top of your SendGrid account.

+3


source







All Articles