Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Transport
Class Transport
Index
Constructor methods
constructor
Properties
options
transportType
transports
Methods
close
sendMail
sendMailWithTransport
send_mail
useDKIM
Constructor methods
constructor
(
type
:
string
, options
?:
any
)
:
Transport
Parameters
type:
string
options?:
any
optional
Returns
Transport
Properties
public
options
:
Object
public
transportType
:
string
public
static
transports
:
{ SMTP: Transport; SES: Transport; SENDMAIL: Transport; STUB: Transport; }
public
transports.SENDMAIL
:
Transport
public
transports.SES
:
Transport
public
transports.SMTP
:
Transport
public
transports.STUB
:
Transport
Methods
public
close
(
callback
?:
(err: Error) => any
)
:
any
Parameters
callback?:
(err: Error) => any
optional
Returns
any
public
sendMail
(
message
:
MailComposer
, callback
?:
(err: Error) => any
)
:
any
Parameters
message:
MailComposer
callback?:
(err: Error) => any
optional
Returns
any
public
sendMailWithTransport
(
emailMessage
:
MailComposer
, callback
?:
(err: Error) => any
)
:
any
Parameters
emailMessage:
MailComposer
callback?:
(err: Error) => any
optional
Returns
any
public
send_mail
(
message
:
MailComposer
, callback
?:
(err: Error) => any
)
:
any
Parameters
message:
MailComposer
callback?:
(err: Error) => any
optional
Returns
any
public
useDKIM
(
dkim
:
DKIMOptions
)
Parameters
dkim:
DKIMOptions
Globals