更新
This commit is contained in:
@@ -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
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user