mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2025-04-18 00:54:17 +07:00
main: pass from input as is
This commit is contained in:
parent
a4a1b1f1d5
commit
b27f0d4766
2
main.js
2
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user