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

    Interface MailpitSendRequest

    Request parameters for the sendMessage() API.

    interface MailpitSendRequest {
        Attachments?: MailpitAttachmentRequest[];
        Bcc?: string[];
        Cc?: MailpitEmailAddressRequest[];
        From: MailpitEmailAddressRequest;
        Headers?: { [key: string]: string };
        HTML?: string;
        ReplyTo?: MailpitEmailAddressRequest[];
        Subject?: string;
        Tags?: string[];
        Text?: string;
        To: MailpitEmailAddressRequest[];
    }
    Index

    Properties

    Attachments?: MailpitAttachmentRequest[]

    Attachments

    Bcc?: string[]

    Bcc recipients email addresses only

    CC recipients

    Sender address

    Headers?: { [key: string]: string }

    Optional message headers

    Type declaration

    • [key: string]: string

      Header in key value

    HTML?: string

    Message body (HTML)

    Optional Reply-To recipients

    Subject?: string

    Email message subject

    Tags?: string[]

    Mailpit tags

    Text?: string

    Message body (text)

    To recipients