From d09fbe04d1c4d155314341c15f61d42697a64349 Mon Sep 17 00:00:00 2001 From: Leandro Facchinetti Date: Sat, 13 Mar 2021 11:45:51 +0000 Subject: [PATCH] --- src/index.test.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/index.test.ts b/src/index.test.ts index abfcf28..b0ada67 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -1,3 +1,18 @@ +/* +You may send emails manually from the command line with the following: + +cat << "EOF" > /tmp/example-email.txt +From: Publisher +To: ru9rmeebswmcy7wx@localhost +Subject: A subject +Date: Sat, 13 Mar 2021 11:30:40 + +

Some HTML content

+EOF + +curl smtp://localhost:2525 --mail-from publisher@example.com --mail-rcpt ru9rmeebswmcy7wx@localhost --upload-file /tmp/example-email.txt +*/ + import { beforeAll, afterAll, describe, test, expect } from "@jest/globals"; import os from "os"; import path from "path";