mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2024-12-26 19:13:06 +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({
|
const info = await transport.sendMail({
|
||||||
from: `"${from}" <${username}>`,
|
from: from,
|
||||||
to: to,
|
to: to,
|
||||||
subject: subject,
|
subject: subject,
|
||||||
text: content_type != "text/html" ? get_body(body) : undefined,
|
text: content_type != "text/html" ? get_body(body) : undefined,
|
||||||
|
Loading…
Reference in New Issue
Block a user