trunk
nate smith 2024-09-01 15:34:29 -05:00
parent 7cb2fd67d1
commit 51a2b386ea
1 changed files with 2 additions and 2 deletions

View File

@ -41,8 +41,8 @@ func NewExternalMailer(pw string) *ExternalMailer {
}
func (m *ExternalMailer) Send(address, subj, body string) error {
from := mail.Address{"Tilde Town Admins", "root@tilde.town"}
to := mail.Address{"", address}
from := mail.Address{Name: "Tilde Town Admins", Address: "root@tilde.town"}
to := mail.Address{Name: "", Address: address}
// Setup headers
headers := make(map[string]string)