mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2026-10-19 14:04:32 +07:00
main: pass from input as is
This commit is contained in:
1 parent
a4a1b1f1d5
commit
b27f0d4766
1 file changed
+2
-2
@@ -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()
|
||||
main()
|
||||
Reference in new issue
Block a user