flounder

A simple gemini site builder
Log | Files | Refs | README | LICENSE

commit 285e08242443d7803b1beb2b522f6ca183db6ef5
parent 6d4ee53714f7f3d723f18977d5baf458c31fb800
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sat,  9 Jan 2021 23:07:32 -0800

Remove CC

Diffstat:
Mmail.go | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/mail.go b/mail.go @@ -9,7 +9,6 @@ func SendEmail(email string, subject string, body string) { auth := smtp.PlainAuth("", c.SMTPUsername, c.SMTPPassword, "smtp.migadu.com") msg := "From: " + c.SMTPUsername + "\n" + "To: " + email + "\n" + - "Cc: " + c.SMTPUsername + "\n" + "Subject:" + subject + "\n" + body err := smtp.SendMail(c.SMTPServer, auth, c.SMTPUsername, []string{email}, []byte(msg))