Send email using nodemailer with body generated using mailgen.
Kind: global function
Param | Type | Description |
---|---|---|
nodemailerTransporter | Transporter |
the nodemailer transporter to use |
from | string |
email address of the sender |
to | string |
email address to send the mail to |
name | string |
name of the customer |
sku | string |
unique identifier for the product (stock-keeping unit) |
dirname | string |
path to the directory containing the mailgen files |
siteUrl | string |
base URL of the website containing images |
© 2021 Dellariva Solutions