From b27f0d4766a9aca3a7011122b0878ff1e6cb6f60 Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Wed, 25 Mar 2020 16:06:11 +0100 Subject: [PATCH] main: pass from input as is --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index 0cd455cf..207232db 100644 --- a/main.js +++ b/main.js @@ -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, @@ -47,4 +47,4 @@ async function main() { } } -main() \ No newline at end of file +main()