]> source.dussan.org Git - gitea.git/commit
Do not write HTML in text/plain mail part (#2954)
authorSandro Santilli <strk@kbt.io>
Mon, 30 May 2016 08:18:49 +0000 (10:18 +0200)
committerUnknwon <u@gogs.io>
Mon, 30 May 2016 08:18:49 +0000 (01:18 -0700)
commitd35a1c30f45d11d2e38ac848eb70c89f9a3cc524
treed005835070743745e0c5d005b68452a9e601b5c4
parente9ae926e040c94ce66666ae6c330c93918fa321c
Do not write HTML in text/plain mail part (#2954)

* Do not write HTML in text/plain mail part

Fixes #2928

* Pass text/plain first, text/html second

* Do not send plain/text email if html2text failed (untested)
modules/mailer/mailer.go