]> source.dussan.org Git - gitea.git/commit
Fix sending mail with a non-latin display name. #2102 (#2559)
authorRémi Saurel <rems4e@users.noreply.github.com>
Thu, 21 Sep 2017 04:29:45 +0000 (06:29 +0200)
committerLunny Xiao <xiaolunwen@gmail.com>
Thu, 21 Sep 2017 04:29:45 +0000 (12:29 +0800)
commit66bc0ac251f564491ed0a6d5d4cfa0a11af09303
treefa07c36ff406ec748e628f64e997860a2802ee20
parent1fbfccb4fc9fc99405174b529206524179177474
Fix sending mail with a non-latin display name. #2102 (#2559)

* Fix sending mail with a non-latin display name. #2102

Signed-off-by: Rémi Saurel <contact@remi-saurel.com>
* Take into account the possibility that setting.MailService.From is in `name <email@address>` format. #2102

Signed-off-by: Rémi Saurel <contact@remi-saurel.com>
models/mail.go
modules/mailer/mailer.go
modules/setting/setting.go