mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2025-07-01 20:53:14 +07:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
16840503b7 |
4
main.js
4
main.js
@ -55,8 +55,6 @@ async function main() {
|
||||
}
|
||||
})
|
||||
|
||||
console.log(transport.options)
|
||||
|
||||
const info = await transport.sendMail({
|
||||
from: getFrom(from, username),
|
||||
to: to,
|
||||
@ -67,8 +65,6 @@ async function main() {
|
||||
html: contentType == "text/html" ? getBody(body, convertMarkdown) : undefined,
|
||||
attachments: attachments ? attachments.split(',').map(f => ({ path: f.trim() })) : undefined
|
||||
})
|
||||
|
||||
console.log(info)
|
||||
} catch (error) {
|
||||
core.setFailed(error.message)
|
||||
}
|
||||
|
Reference in New Issue
Block a user