Fix email editor when plaintext setting enabled

This commit is contained in:
Harvey Tindall
2021-02-22 16:40:37 +00:00
parent 9799665951
commit 40fc5e9604
12 changed files with 89 additions and 14 deletions
-1
View File
@@ -571,6 +571,5 @@ func (emailer *Emailer) constructWelcome(username string, app *appContext, noSub
// calls the send method in the underlying emailClient.
func (emailer *Emailer) send(email *Email, address ...string) error {
fmt.Printf("%+v\n", email)
return emailer.sender.send(emailer.fromName, emailer.fromAddr, email, address...)
}