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 { func (m *ExternalMailer) Send(address, subj, body string) error {
from := mail.Address{"Tilde Town Admins", "root@tilde.town"} from := mail.Address{Name: "Tilde Town Admins", Address: "root@tilde.town"}
to := mail.Address{"", address} to := mail.Address{Name: "", Address: address}
// Setup headers // Setup headers
headers := make(map[string]string) headers := make(map[string]string)