邮件服务参数值:"from",当填写中文内容时会引发错误

通过/install安装gogs时,在“邮件服务设置”中填写“邮件来自”内容时,输入中文,安装完毕后无法发送邮件,输入英文可以正常发送邮件

“邮件来自”参数填写示例:
TIM截图20200227113229

gogs.log 错误日志描述:
[ERROR] [.../runtime/asm_amd64.s:1337 goexit()] Fail to send emails [[email protected]]: UID: 14, registration notify - gomail: could not send email 1: gomail: invalid address "=?UTF-8?q?\"=E4=BD=A0=E5=A5=BD=E4=B8=96=E7=95=8C\"_<[email protected]>?=": mail: expected single address, got "?="

app.ini 配置文件参数值示例:
[mailer]
ENABLED = true
HOST = smtp.qiye.aliyun.com:465
FROM = "你好世界" <[email protected]>
USER = [email protected]

若参数值不包含中文,为英文时不会引发错误,可以正常发送邮件:
[mailer]
FROM = "Hello World" <[email protected]>

盼回复,谢谢!

这个。。哎,底层用的 email 库有点垃圾,还没时间找一个更好的