sparkpost v0.3.0 SparkPost.Content.Attachment

File attachment.

Designed for use in %SparkPost.Content.Inline{attachments: ...} and %SparkPost.Content.Inline{inline_images: ...}.

Fields

  • name: filename
  • type: MIME type
  • data: binary file content