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