Function mailslurp::apis::email_controller_api::download_attachment [−][src]
pub async fn download_attachment(
configuration: &Configuration,
params: DownloadAttachmentParams
) -> Result<String, Error<DownloadAttachmentError>>
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.