Skip to content

UploadAttachmentOptions

Properties

Name Type Description Notes
ContentType String Optional contentType for file. For instance application/pdf [optional]
Filename String Optional filename to save upload with. Will be the name that is shown in email clients [optional]
Base64Contents String Base64 encoded string of file contents. Typically this means reading the bytes or string content of a file and then converting that to a base64 encoded string. For examples of how to do this see https://www.mailslurp.com/guides/base64-file-uploads/

Examples

  • Prepare the resource
$UploadAttachmentOptions = Initialize-maislurp-client-powershellUploadAttachmentOptions  -ContentType null `
 -Filename null `
 -Base64Contents null
  • Convert the resource to JSON
$UploadAttachmentOptions | ConvertTo-JSON

[Back to Model list] [Back to API list] [Back to ]