Skip to content

Commit c8c07aa

Browse files
committed
Removing email test
Signed-off-by: Vishal Rana <[email protected]>
1 parent 50b533f commit c8c07aa

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

email/email_test.go

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1 @@
11
package email
2-
3-
import (
4-
"net/smtp"
5-
"testing"
6-
)
7-
8-
func TestSend(t *testing.T) {
9-
// e := New("smtp.gmail.com:465")
10-
e := New("smtp.elasticemail.com:2525")
11-
// e.Auth = smtp.PlainAuth("", "[email protected]", "Dream1980", "smtp.gmail.com")
12-
e.Auth = smtp.PlainAuth("", "[email protected]", "54643b5b-3284-4f33-89bf-d228951c527f", "smtp.elasticemail.com")
13-
// err := smtp.SendMail("smtp.elasticemail.com:2525", e.Auth, "[email protected]", []string{"[email protected]"}, []byte("body"))
14-
// fmt.Println(err)
15-
e.Send(&Message{
16-
17-
18-
Subject: "test",
19-
Text: "xxxxxxxxxxxxxxxxxxxxxxxxxx",
20-
})
21-
}

0 commit comments

Comments
 (0)