send multipart email with both html and plaintext by default, closes #22

This commit is contained in:
Aine
2022-11-16 20:01:30 +02:00
parent 7457f0436e
commit fce6593cd7
4 changed files with 32 additions and 36 deletions

View File

@@ -156,7 +156,7 @@ func (s *outgoingSession) Data(r io.Reader) error {
eml.HTML,
files)
return s.sendmail(email.From, email.To, email.Compose(false, s.privkey))
return s.sendmail(email.From, email.To, email.Compose(s.privkey))
}
func (s *outgoingSession) Reset() {}
func (s *outgoingSession) Logout() error { return nil }