mirror of
https://github.com/lxsang/antd-web-apps
synced 2024-12-26 01:18:21 +01:00
add To to sendmail function
This commit is contained in:
parent
25e75badc1
commit
528ec59e7b
@ -10,7 +10,7 @@ local function process_md(input)
|
||||
end
|
||||
|
||||
local function sendmail(to, subject, content)
|
||||
local from = "From: contact@iohub.dev\n"
|
||||
local from = "From: contact@iohub.dev\nTo: " .. to .. "\n"
|
||||
local suject = "Subject: " .. subject .. "\n"
|
||||
|
||||
local cmd = 'echo "' .. utils.escape(from .. suject .. content) ..
|
||||
|
Loading…
Reference in New Issue
Block a user