From 4522af82f302e5ccccceba21540966a7e431b765 Mon Sep 17 00:00:00 2001 From: Yun Date: Sun, 10 Aug 2025 22:02:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aliyun/aliyun_test.go | 2 +- smtp/smtp_test.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/aliyun/aliyun_test.go b/aliyun/aliyun_test.go index 05f4b5b..2949eb4 100644 --- a/aliyun/aliyun_test.go +++ b/aliyun/aliyun_test.go @@ -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) } diff --git a/smtp/smtp_test.go b/smtp/smtp_test.go index 36c61c0..b71d060 100644 --- a/smtp/smtp_test.go +++ b/smtp/smtp_test.go @@ -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 {