Send text alongside HTML in emails.

This commit is contained in:
zkldi
2021-11-13 09:38:28 +00:00
parent 0a8ea0f202
commit d0a67b932d
4 changed files with 30 additions and 23 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ if (require.main === module) {
await SendEmail(
options.email,
"Hello World",
MainHTMLWrapper("Hello world! This is a test email for doing things.")
MainHTMLWrapper("Hello world! This is a test email for doing things."),
"Hello world! This is a test email for doing things."
);
logger.info(`Done.`);
process.exit(0);