Azure Connectors Node.js SDK
    Preparing search index...

    Interface EmailSendInput

    Send Email with Attachments

    interface EmailSendInput {
        async?: boolean;
        bodyhtml?: string;
        bodytext?: string;
        from: string;
        profiles?: string;
        smtppassword: string;
        smtpport: string;
        smtpserver: string;
        smtpusername: string;
        subject: string;
        to: string;
        url: string;
    }
    Index
    async?: boolean

    Set async to true for long processes to run in the background, API will then return a jobId which you can use with JobCheck endpoint to check the status of the process and retrieve the output while you can proceed with other tasks without waiting for this process to finish.

    bodyhtml?: string

    HTML version of the outgoing email message.

    bodytext?: string

    Plain text version of the outgoing email message.

    from: string

    The “From” field with sender name and email. Example: John Doe john@example.com

    profiles?: string

    Use this parameter to set additional configurations for fine-tuning and extra options. Explore PDF.co knowledgebase (https://developer.pdf.co/api/profiles/index.html) for profile examples.

    smtppassword: string

    SMTP server password, If you use Gmail then you need to generate an app-specific password as instructed at https://support.google.com/accounts/answer/185833.

    smtpport: string

    SMTP port

    smtpserver: string

    SMTP server address

    smtpusername: string

    SMTP server username

    subject: string

    The subject for the outgoing email

    to: string

    The “To” field with receiver name and email. Example: Partner partner@example.com

    url: string

    URL to the source file. Supports links from Google Drive, Dropbox, and PDF.co built-in files storage.