mirror of
https://github.com/pppscn/SmsForwarder
synced 2025-08-03 09:27:41 +08:00
优化:电子邮箱
发送通道自动替换正文中的\n
为<br>
(邮件正文是html)
This commit is contained in:
parent
2738b6d9b2
commit
cdc7856b1f
@ -134,7 +134,7 @@ class EmailUtils {
|
||||
password = setting.pwd.toString()
|
||||
toAddress = toAddressList
|
||||
subject = title
|
||||
content = message
|
||||
content = message.replace("\n", "<br>")
|
||||
openSSL = setting.ssl == true
|
||||
startTls = setting.startTls == true
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user