forked from tildetown/town
cleanup
parent
7cb2fd67d1
commit
51a2b386ea
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue