Mail constructor should allow content to be an array (for HTML) #296
Labels
status: help wanted
requesting help from the community
type: community enhancement
feature request not on Twilio's roadmap
Issue Summary
Eg, allow this.addContent() to check for isArray() and then iterate and push each content item. Many users use both HTML and text content types and it's surprising the constructor doesn't seem to handle this.
Sendgrid for node v2 simply had text and html fields. Sendgrid v4 does surprisingly less.
The text was updated successfully, but these errors were encountered: