sendMail
Method allowing to send an email.
Parameter | Type | Description |
---|---|---|
{ mailOptions, transport, transportDefaults } | SendMailOptions |
SendMailOptions
Parameter | Type | Description |
---|---|---|
mailOptions | NMSMO | |
transport | SMTPTransport / 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.
Parameter | Type | Description |
---|---|---|
{ source, options } | ParseMailParameters |
ParseMailParameters
Parameter | Type | Description |
---|---|---|
source | string | Email to parse. |
options? | SimpleParserOptions | Parsing options |
createTestMailAccount
Method allowing to create a test mail account.
Parameter | Type | Description |
---|---|---|
apiUrl | string / undefined |
createTestMailAccount Return value
TestAccount