@types/nodemailer-direct-transport
TypeScript icon, indicating that this package has built-in type declarations

1.0.35 • Public • Published

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

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

Credits

These definitions were written by Rogier Schouten.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/nodemailer-direct-transport

Weekly Downloads

13,731

Version

1.0.35

License

MIT

Unpacked Size

4.17 kB

Total Files

5

Last publish

Collaborators

  • types