Module mailslurp::apis::attachment_controller_api [−][src]
Structs
DownloadAttachmentAsBase64EncodedParams | struct for passing parameters to the method |
DownloadAttachmentAsBytesParams | struct for passing parameters to the method |
GetAttachmentInfoParams | struct for passing parameters to the method |
UploadAttachmentBytesParams | struct for passing parameters to the method |
UploadAttachmentParams | struct for passing parameters to the method |
UploadMultipartFormParams | struct for passing parameters to the method |
Enums
DownloadAttachmentAsBase64EncodedError | struct for typed errors of method |
DownloadAttachmentAsBytesError | struct for typed errors of method |
GetAttachmentInfoError | struct for typed errors of method |
UploadAttachmentBytesError | struct for typed errors of method |
UploadAttachmentError | struct for typed errors of method |
UploadMultipartFormError | struct for typed errors of method |
Functions
download_attachment_as_base64_encoded | Returns the specified attachment for a given email as a base 64 encoded string. The response type is application/json. This method is similar to the |
download_attachment_as_bytes | Returns the specified attachment for a given email as a stream / array of bytes. You can find attachment ids in email responses endpoint responses. The response type is application/octet-stream. |
get_attachment_info | Returns the metadata for an attachment. It is saved separately to the content of the attachment. Contains properties |
upload_attachment | Email attachments are essentially files with meta data. Files are byte arrays and the meta data is a content type and a filename. These properties allow email clients to display the filename and icon etc. When sending emails with attachments first upload each attachment with an upload endpoint. Record the returned attachment ID and use it with subsequent email sending. For legacy reasons the ID is returned as the first element in an array. Only a single ID is ever returned. To send the attachments pass a list of attachment IDs with |
upload_attachment_bytes | Email attachments are essentially files with meta data. Files are byte arrays and the meta data is a content type and a filename. These properties allow email clients to display the filename and icon etc. When sending emails with attachments first upload each attachment with an upload endpoint. Record the returned attachment ID and use it with subsequent email sending. For legacy reasons the ID is returned as the first element in an array. Only a single ID is ever returned. To send the attachments pass a list of attachment IDs with |
upload_multipart_form | Email attachments are essentially files with meta data. Files are byte arrays and the meta data is a content type and a filename. These properties allow email clients to display the filename and icon etc. When sending emails with attachments first upload each attachment with an upload endpoint. Record the returned attachment ID and use it with subsequent email sending. For legacy reasons the ID is returned as the first element in an array. Only a single ID is ever returned. To send the attachments pass a list of attachment IDs with |