Add. mail templates for fax server responses.

This commit is contained in:
Alexey Melnichuk
2015-12-09 12:43:40 +03:00
parent bc1fcebad3
commit 7a45e14c8c
9 changed files with 249 additions and 35 deletions

View File

@@ -1,6 +1,8 @@
--check if a file exists
function file_exists(name)
local f=io.open(name,"r")
if f~=nil then io.close(f) return true else return false end
local f = io.open(name, "r")
if not f then return end
f:close()
return name
end