From 6125c332ec9a16bc89ead750c2db53fd6db6b731 Mon Sep 17 00:00:00 2001 From: Prabhjot Singh Sethi Date: Mon, 14 Jul 2025 17:06:50 +0000 Subject: [PATCH] remove dummy test directory Signed-off-by: Prabhjot Singh Sethi --- test/smtp/main.go | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 test/smtp/main.go diff --git a/test/smtp/main.go b/test/smtp/main.go deleted file mode 100644 index 24bdf39..0000000 --- a/test/smtp/main.go +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - - "github.com/go-core-stack/core/utils/smtp" -) - -func main() { - config := smtp.Config{ - Host: "smtp.gmail.com", - Port: "587", - Sender: "info.psethi@gmail.com", - SenderName: "Prabhjot Sethi", - ReplyTo: "prabhjot.sethi@gmail.com", - Password: "ixytccsbvusoivjy", - } - - client := smtp.New(config) - - err := client.Send(&smtp.Message{ - Receivers: []string{"prabhjot.sethi@gmail.com", "prabhjot.lists@gmail.com"}, - Subject: "Test Email", - Body: "This is a test email sent using the smtp package.", - Html: false, - }) - - if err != nil { - fmt.Printf("failed to send email: %v\n", err) - } -}