mirror of
https://github.com/allinssl/allinssl.git
synced 2025-12-15 09:55:37 +08:00
18 lines
266 B
Go
18 lines
266 B
Go
package report
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
)
|
|
|
|
func TestMail(t *testing.T) {
|
|
config := map[string]any{
|
|
"provider": "mail",
|
|
"provider_id": "4",
|
|
"subject": "执行结束",
|
|
"body": "执行结束",
|
|
}
|
|
err := NotifyMail(config)
|
|
fmt.Println(err)
|
|
}
|