[send_mail] return freeswitch.email Boolean value (#6231)
This commit is contained in:
@@ -266,10 +266,11 @@ else
|
|||||||
"X-Headers: " .. xheaders
|
"X-Headers: " .. xheaders
|
||||||
|
|
||||||
if file then
|
if file then
|
||||||
freeswitch.email(address, from, mail_headers, body, file)
|
ok = freeswitch.email(address, from, mail_headers, body, file)
|
||||||
else
|
else
|
||||||
freeswitch.email(address, from, mail_headers, body)
|
ok = freeswitch.email(address, from, mail_headers, body)
|
||||||
end
|
end
|
||||||
|
return ok
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user