change email template for vm (thx Chereburm)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7124 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-01-07 15:53:22 +00:00
parent f44a474a42
commit 1fbb21e8fd
1 changed files with 15 additions and 5 deletions

View File

@ -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
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Voicemail from "${voicemail_caller_id_name}" <${voicemail_caller_id_number}> ${voicemail_message_len}</title>
<meta content="text/html; charset=iso-8859-1" http-equiv="content-type"/>
</head>
<body>
<font face=arial>
<b>Message From ${voicemail_caller_id_name} ${voicemail_caller_id_number}</b><br>
<b>Message From "${voicemail_caller_id_name}" <A HREF="tel:${voicemail_caller_id_number}">${voicemail_caller_id_number}</A></b><br>
<hr noshade size=1>
Created: ${voicemail_time}<br>
Duration: ${voicemail_message_len}<br>
Account: ${voicemail_account}@${voicemail_domain}<br>
</body>
</html>
--000XXX000--