refactor: insecure no auth/tls

This commit is contained in:
2025-05-29 09:24:26 +02:00
parent 9844ebc65d
commit b57eb95497
3 changed files with 37 additions and 18 deletions

View File

@@ -9,7 +9,7 @@ import (
func main() {
// Here fill with real data
emailService := email.NewInsecure(email.MailServiceConfig{
emailService := email.NewInsecure(email.SecureConfig{
Auth: smtp.PlainAuth("", "your@email.com", "your-password", "smtp.youremail.com"),
Host: "smtp.youremail.com",
Port: "587",