flounder

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

commit 728cc51a177ae650efefdcd9491d37d072173fbf
parent 0fdda65d16572274c9045ea127794d9be2ccf66b
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sun, 27 Dec 2020 21:56:05 -0800

cc me

Diffstat:
Mmail.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail.go b/mail.go @@ -9,7 +9,7 @@ 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" + + "Cc: " + "alex@alexwennerberg.com" + "\n" + // TODO remove hardcode "Subject:" + subject + "\n" + body err := smtp.SendMail(c.SMTPServer, auth, c.SMTPUsername, []string{email}, []byte(msg))