mirror of
https://github.com/lxsang/antd-web-apps
synced 2024-11-20 02:18:20 +01:00
commit
fda4a23943
@ -10,7 +10,7 @@ local function process_md(input)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function sendmail(to, subject, content)
|
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 suject = "Subject: " .. subject .. "\n"
|
||||||
|
|
||||||
local cmd = 'echo "' .. utils.escape(from .. suject .. content) ..
|
local cmd = 'echo "' .. utils.escape(from .. suject .. content) ..
|
||||||
|
Loading…
Reference in New Issue
Block a user