1.0.35 • Published 6 months ago

@types/nodemailer-direct-transport v1.0.35

Weekly downloads
13,994
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/nodemailer-direct-transport

Summary

This package contains type definitions for nodemailer-direct-transport (https://github.com/andris9/nodemailer-direct-transport).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer-direct-transport.

index.d.ts

// Type definitions for nodemailer-direct-transport 1.0.2
// Project: https://github.com/andris9/nodemailer-direct-transport
// Definitions by: Rogier Schouten <https://github.com/rogierschouten>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import * as nodemailer from 'nodemailer';

declare namespace directTransport {

    export interface AuthOptions {
        user?: string | undefined;
        pass?: string | undefined;
        xoauth2?: any;
    }

    export interface DirectOptions {
        /**
         * optional hostname of the client, used for identifying to the server
         */
        name?: string | undefined;
        /**
         * if true, the connection emits all traffic between client and server as 'log' events
         */
        debug?: boolean | undefined;
    }
}

declare function directTransport(options: directTransport.DirectOptions): nodemailer.Transport;

export = directTransport;

Additional Details

  • Last updated: Thu, 08 Jul 2021 18:51:34 GMT
  • Dependencies: @types/nodemailer
  • Global values: none

Credits

These definitions were written by Rogier Schouten.

1.0.33

8 months ago

1.0.35

6 months ago

1.0.34

7 months ago

1.0.32

3 years ago

1.0.31

7 years ago

1.0.30

7 years ago

1.0.29

8 years ago

1.0.28

8 years ago

1.0.27-alpha

8 years ago

1.0.26-alpha

8 years ago

1.0.25-alpha

8 years ago

1.0.24-alpha

8 years ago

1.0.23-alpha

8 years ago

1.0.22-alpha

8 years ago

1.0.21-alpha

8 years ago

1.0.16-alpha

8 years ago

1.0.15-alpha

8 years ago