package mailer

import (
	"context"
	"testing"
)

func TestLiveSendLocal(t *testing.T) {
	m := &SMTPMailer{
		Host: "smtp.resend.com",
		Port: "587",
		User: "resend",
		Pass: "re_ZvmRT3hm_MYiM5UfsoudECHLqQthefnGV",
		From: "KeluargaMart <no-reply@trl.my.id>",
	}

	err := m.Send(context.Background(), "admin@keluargamart.local", "Test local", "body")
	t.Logf("Result for local: %v", err)
}
