This commit is contained in:
Yun
2025-08-10 22:02:15 +08:00
parent 12da33399b
commit 4522af82f3
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ func TestSend(t *testing.T) {
t.Fatal(err)
}
by, err := os.ReadFile("../../../static/email/msg/zh_Hant.html")
by, err := os.ReadFile("./assets/zh_Hant.html")
if err != nil {
t.Fatal(err)
}
+3 -3
View File
@@ -16,10 +16,10 @@ func TestMail(t *testing.T) {
ctx := context.Background()
ini, err := sm.SetOption(ctx, interfaces.SetSmtp(&interfaces.EmailConfigDataSmtp{
Username: "test@email.aisz.org",
Password: "FDuSoJKiC9tNSDIG6DFh",
Username: "support@email.blueoceanpay.com",
Password: "SupporT2017",
ReplyTo: "",
Host: "smtpdm.aliyun.com",
Host: "smtpdm-ap-southeast-1.aliyun.com",
Port: "80",
}))
if err != nil {