Wrong variable in freeswitch.email

https://wiki.freeswitch.org/wiki/Mod_lua#freeswitch.email   

same as my other pull request
This commit is contained in:
Luis Daniel Lucio Quiroz
2016-02-24 19:59:54 -05:00
parent e49034921e
commit 1b95a5eff4

View File

@@ -59,21 +59,21 @@
--send the email
if (file == nil) then
freeswitch.email(to,
to,
from,
"To: "..to.."\nFrom: "..from.."\nX-Headers: "..headers.."\nSubject: "..subject,
body
);
else
if (convert_cmd == nil) then
freeswitch.email(to,
to,
from,
"To: "..to.."\nFrom: "..from.."\nX-Headers: "..headers.."\nSubject: "..subject,
body,
file
);
else
freeswitch.email(to,
to,
from,
"To: "..to.."\nFrom: "..from.."\nX-Headers: "..headers.."\nSubject: "..subject,
body,
file,