mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2026-06-21 08:37:22 +07:00
main: pass from input as is
This commit is contained in:
@@ -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