aboutsummaryrefslogtreecommitdiffstats
path: root/packages/freeswitch/freeswitch_mailto.tmp
diff options
context:
space:
mode:
authorMark Crane <mcrane@pfsense.org>2008-12-17 18:56:00 +0000
committerMark Crane <mcrane@pfsense.org>2008-12-17 18:56:00 +0000
commit057d247f361b6377806ce005108c65b058e13846 (patch)
tree46852177edda495cc6c8bc5901182ed2e53dfc6b /packages/freeswitch/freeswitch_mailto.tmp
parenta28d12a31c3997e98d3146e768fdb9aa9866adce (diff)
downloadpfsense-packages-057d247f361b6377806ce005108c65b058e13846.tar.gz
pfsense-packages-057d247f361b6377806ce005108c65b058e13846.tar.bz2
pfsense-packages-057d247f361b6377806ce005108c65b058e13846.zip
FreeSWITCH pkg add voicemail to email From Name to settings tab.
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);