Ensure text/plain is always the first object among multiple Content objects #608
Labels
difficulty: easy
fix is easy in difficulty
status: help wanted
requesting help from the community
type: twilio enhancement
feature request on Twilio's roadmap
Issue Summary
The SendGrid API requires that a MimeType of "text/plain" should always be first in an array of Content objects, when specified. Our examples currently demonstrate this, but we should ensure that this is the case in the SDK in the event that someone sets "text/html" (for example) as the first Content object. The update should be made in the Mail object, getContents method.
The text was updated successfully, but these errors were encountered: