mailpit-api - v1.5.3
    Preparing search index...

    Interface MailpitAttachmentRequest

    Represents an attachment for a request.

    interface MailpitAttachmentRequest {
        Content: string;
        ContentID?: string;
        ContentType?: string;
        Filename: string;
    }
    Index

    Properties

    Content: string

    Base64-encoded string for the file content

    ContentID?: string

    Optional Content-ID (cid) for attachment. If this field is set then the file is attached inline.

    ContentType?: string

    Optional Content Type for the the attachment. If this field is not set (or empty) then the content type is automatically detected.

    Filename: string

    Filename for the attachement