镜像自地址
https://github.com/betterfor/action-send-mail.git
已同步 2026-11-20 16:37:04 +00:00
test
这个提交包含在:
7
main.go
7
main.go
@ -15,6 +15,13 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
envs := os.Environ()
|
||||
for _, e := range envs {
|
||||
if strings.HasPrefix(e, "INPUT_") {
|
||||
fmt.Println(e, "=", os.Getenv(e))
|
||||
}
|
||||
}
|
||||
|
||||
mailHost := os.Getenv("INPUT_SERVER_ADDRESS")
|
||||
mailPort := convertInt(os.Getenv("INPUT_SERVER_PORT"))
|
||||
secure := convertBool(os.Getenv("INPUT_SECURE"))
|
||||
|
||||
在新工单中引用
屏蔽一个用户