更新
This commit is contained in:
@@ -25,7 +25,7 @@ func TestSend(t *testing.T) {
|
|||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
by, err := os.ReadFile("../../../static/email/msg/zh_Hant.html")
|
by, err := os.ReadFile("./assets/zh_Hant.html")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -16,10 +16,10 @@ func TestMail(t *testing.T) {
|
|||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
|
|
||||||
ini, err := sm.SetOption(ctx, interfaces.SetSmtp(&interfaces.EmailConfigDataSmtp{
|
ini, err := sm.SetOption(ctx, interfaces.SetSmtp(&interfaces.EmailConfigDataSmtp{
|
||||||
Username: "test@email.aisz.org",
|
Username: "support@email.blueoceanpay.com",
|
||||||
Password: "FDuSoJKiC9tNSDIG6DFh",
|
Password: "SupporT2017",
|
||||||
ReplyTo: "",
|
ReplyTo: "",
|
||||||
Host: "smtpdm.aliyun.com",
|
Host: "smtpdm-ap-southeast-1.aliyun.com",
|
||||||
Port: "80",
|
Port: "80",
|
||||||
}))
|
}))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user