TestingTransportOptions

TestingTransportOptions

Documentation generated from email-transport-options.ts on Feb 19 2019 at 16:20

Forwards the raw GeneratedEmailContext object to a provided callback, for use in testing.

Signature

interface TestingTransportOptions {
  type: 'testing';
  onSend: (context: GeneratedEmailContext) => void;
}

Members

type

property
type:
'testing'

onSend

property
type:
(context: GeneratedEmailContext) => void

Callback to be invoked when an email would be sent.

alpha