提交
This commit is contained in:
+7
-6
@@ -2,8 +2,9 @@ package mailx_test
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"statistic/app/pkg/mailx"
|
||||
"testing"
|
||||
|
||||
"code.yun.ink/pkg/mailx"
|
||||
)
|
||||
|
||||
func TestMail(t *testing.T) {
|
||||
@@ -11,11 +12,11 @@ func TestMail(t *testing.T) {
|
||||
|
||||
msg := mailx.Message{
|
||||
// Form: "support@email.blueoceanpay.com",
|
||||
To: []string{"yun@blueoceanpay.com", "995116474@qq.com"},
|
||||
Cc: []string{"287852692@qq.com"},
|
||||
Bcc: []string{"1362716835@qq.com"},
|
||||
Subject: "test mail",
|
||||
Body: "测试文件",
|
||||
To: []string{"yun@blueoceanpay.com", "995116474@qq.com"},
|
||||
Cc: []string{"287852692@qq.com"},
|
||||
Bcc: []string{"1362716835@qq.com"},
|
||||
Subject: "test mail",
|
||||
Body: "测试文件",
|
||||
Attachment: []mailx.Attachment{
|
||||
// {
|
||||
// Name: "/code/statistic/out.xlsx",
|
||||
|
||||
Reference in New Issue
Block a user