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
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/nodemailer
Credits
These definitions were written by Rogier Schouten.