main: pass from input as is

This commit is contained in:
Dawid Dziurla 2020-03-25 16:06:11 +01:00 committed by GitHub
parent a4a1b1f1d5
commit b27f0d4766
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ async function main() {
})
const info = await transport.sendMail({
from: `"${from}" <${username}>`,
from: from,
to: to,
subject: subject,
text: content_type != "text/html" ? get_body(body) : undefined,