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 {