Skip to main content
Version: 7.5.5

Email

sendMail

Method allowing to send an email.

ParameterTypeDescription
{ mailOptions, transport, transportDefaults }SendMailOptions

SendMailOptions

ParameterTypeDescription
mailOptionsNMSMO
transportSMTPTransport / Options / string
transportDefaults?Options

sendMail Return value

SMTPTransport.SentMessageInfo

Return sent message information.

Basic Usage

await I.sendMail(
{
mailOptions:,
transport:,
transportDefaults:
}
);

parseMail

Method allowing to parse an email.

ParameterTypeDescription
{ source, options }ParseMailParameters

ParseMailParameters

ParameterTypeDescription
sourcestringEmail to parse.
options?SimpleParserOptionsParsing options

createTestMailAccount

Method allowing to create a test mail account.

ParameterTypeDescription
apiUrlstring / undefined

createTestMailAccount Return value

TestAccount