This commit is contained in:
Leandro Facchinetti 2021-03-13 11:45:51 +00:00
parent bf6b6d7d90
commit d09fbe04d1
1 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,18 @@
/*
You may send emails manually from the command line with the following:
cat << "EOF" > /tmp/example-email.txt
From: Publisher <publisher@example.com>
To: ru9rmeebswmcy7wx@localhost
Subject: A subject
Date: Sat, 13 Mar 2021 11:30:40
<p>Some HTML content</p>
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";