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