From f076a8133bcceb2f33e20f01f9e9726b2e73d7ee Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 2 Feb 2018 19:35:02 -0700 Subject: [PATCH] Update send_mail.lua Fix a spelling mistake. --- resources/install/scripts/resources/functions/send_mail.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/install/scripts/resources/functions/send_mail.lua b/resources/install/scripts/resources/functions/send_mail.lua index 384a4e89f8..6e22e7d6b3 100644 --- a/resources/install/scripts/resources/functions/send_mail.lua +++ b/resources/install/scripts/resources/functions/send_mail.lua @@ -91,8 +91,8 @@ if freeswitch then end xheaders = xheaders:sub(1,-2) .. '}' - local from = settins:get('email', 'smtp_from', 'var') - local from_name = settins:get('email', 'smtp_from_name', 'var') + local from = settings:get('email', 'smtp_from', 'var') + local from_name = settings:get('email', 'smtp_from_name', 'var') local from_address = from_name .. "<" .. from .. ">" local subject = message[1] local body = message[2] or ''