From 1fbb21e8fd8579a4e8a3f250057dc3b6c9827c8d Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 7 Jan 2008 15:53:22 +0000 Subject: [PATCH] change email template for vm (thx Chereburm) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7124 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- conf/voicemail.tpl | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/conf/voicemail.tpl b/conf/voicemail.tpl index eb020f04ed..aede2b8f08 100644 --- a/conf/voicemail.tpl +++ b/conf/voicemail.tpl @@ -1,11 +1,11 @@ -From: FreeSWITCH mod_voicemail <${voicemail_account}@${voicemail_domain}> +From: "${voicemail_caller_id_name}" <${voicemail_caller_id_number}@${voicemail_domain}> To: <${voicemail_email}> -Subject: Voicemail from ${voicemail_caller_id_name} ${voicemail_caller_id_number} ${voicemail_message_len} +Subject: Voicemail from "${voicemail_caller_id_name}" <${voicemail_caller_id_number}> ${voicemail_message_len} X-Priority: ${voicemail_priority} X-Mailer: FreeSWITCH Content-Type: multipart/alternative; - boundary=000XXX000 + boundary="000XXX000" --000XXX000 Content-Type: text/plain; charset=ISO-8859-1; Format=Flowed @@ -13,7 +13,7 @@ Content-Disposition: inline Content-Transfer-Encoding: 7bit Created: ${voicemail_time} -From: ${voicemail_caller_id_name} ${voicemail_caller_id_number} +From: "${voicemail_caller_id_name}" <${voicemail_caller_id_number}> Duration: ${voicemail_message_len} Account: ${voicemail_account}@${voicemail_domain} @@ -22,11 +22,21 @@ Content-Type: text/html; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 7bit + + + +Voicemail from "${voicemail_caller_id_name}" <${voicemail_caller_id_number}> ${voicemail_message_len} + + + + -Message From ${voicemail_caller_id_name} ${voicemail_caller_id_number}
+Message From "${voicemail_caller_id_name}" ${voicemail_caller_id_number}

Created: ${voicemail_time}
Duration: ${voicemail_message_len}
Account: ${voicemail_account}@${voicemail_domain}
+ + --000XXX000--