mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2024-12-25 18:43:08 +07:00
parent
3c0bbc53ef
commit
19516a4a58
4
main.js
4
main.js
@ -96,10 +96,6 @@ async function main() {
|
||||
throw new Error("Server address must be specified")
|
||||
}
|
||||
|
||||
if (!username || !password) {
|
||||
core.warning("Username and password not specified. You should only do this if you are using a self-hosted runner to access an on-premise mail server.")
|
||||
}
|
||||
|
||||
const transport = nodemailer.createTransport({
|
||||
host: serverAddress,
|
||||
auth: username && password ? {
|
||||
|
Loading…
Reference in New Issue
Block a user