aboutsummaryrefslogtreecommitdiffstats
path: root/packages/freeswitch/freeswitch_mailto.tmp
diff options
context:
space:
mode:
Diffstat (limited to 'packages/freeswitch/freeswitch_mailto.tmp')
-rw-r--r--packages/freeswitch/freeswitch_mailto.tmp4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/freeswitch/freeswitch_mailto.tmp b/packages/freeswitch/freeswitch_mailto.tmp
index 3c8dbe1f..f24ce26a 100644
--- a/packages/freeswitch/freeswitch_mailto.tmp
+++ b/packages/freeswitch/freeswitch_mailto.tmp
@@ -41,7 +41,7 @@ $tmp_smtpauth = $config['installedpackages']['freeswitchsettings']['config'][0][
$tmp_smtpusername = $config['installedpackages']['freeswitchsettings']['config'][0]['smtpusername'];
$tmp_smtppassword = $config['installedpackages']['freeswitchsettings']['config'][0]['smtppassword'];
$tmp_smtpfrom = $config['installedpackages']['freeswitchsettings']['config'][0]['smtpfrom'];
-
+$tmp_smtpfromname = $config['installedpackages']['freeswitchsettings']['config'][0]['smtpfromname'];
ini_set(max_execution_time,900); //15 minutes
@@ -201,7 +201,7 @@ ob_start();
$mail->From = $tmp_smtpfrom;
- $mail->FromName = $var['From'];
+ $mail->FromName = $tmp_smtpfromname;
$mail->Subject = $var['Subject'];
$mail->AltBody = $textplain; // optional, comment out and test
$mail->MsgHTML($texthtml);