-
Notifications
You must be signed in to change notification settings - Fork 1
/
EmailFormats.properties
100 lines (89 loc) · 3.68 KB
/
EmailFormats.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Copyright (C) 2009 Pingtel Corp., certain elements licensed under a Contributor Agreement.
# Contributors retain copyright to elements licensed under a Contributor Agreement.
# Licensed to the User under the LGPL license.
#
# Variables available to use as {var} expansions:
#
# 0 audio Duration in mS
# 1 From URI
# 2 From User Part (phone number, most likely)
# 3 From Display Part
# 4 Portal Link URL
# 5 Message Id
# 6 message timestamp
SenderName = Voicemail Notification Service
SenderMailto = postmaster@localhost
HtmlTitle = Voicemail Notification
# More variables available (which now include the above as pre-expanded variables
# 7 Sender Name
# 8 Sender mailto
# 9 html title
PortalURL = {4}
Sender = {7} <{8}>
SubjectFull = {0,time,m:ss} Voice Message from {2} ({3})
SubjectMedium = Voice Message from {2} ({3})
SubjectBrief = Voice Message: {3}
# Even More variables available (which now include the above as pre-expanded variables)
#
# 10 Portal URL (so it can be re-written if need be for firewalls, remapping, etc.)
# 11 Sender (as name <mail addr>)
# 12 SubjectFull
# 13 SubjectMedium
# 14 SubjectBrief
# Body for Full Html Email format (with links)
HtmlBodyFull = \
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"\n \
\"http://www.w3.org/TR/html4/strict.dtd\">\n \
<html>\n \
<head>\n \
<title>{9}</title>\n \
</head>\n \
<body style="font-family:Helvetica,Arial,sans-serif;color:#000000;">\n \
<table style="width:100%;margin:0" border="0" cellspacing="0" cellpadding="0"><tr><td style="width:45px;height:50px">\n \
<img width="45" height="50" src="https://www.garrettcounty.org/theme/email/images/voicemail-icon.png" />\n \
</td><td style="width:20px;"> </td><td style="font-family:Helvetica, Arial, sans-serif;color:#4f4f4f;font-size:36px;">Voicemail</td></tr></table>\n \
<p style="font-family:Helvetica,Arial,sans-serif;color:#000000;font-size:16px;margin:30px 0;">{12}</p>\n \
<p></p>\n \
<p style="font-family:Helvetica,Arial,sans-serif;color:#4f4f4f;font-size:12px;margin:0;"><a href="{10}{5}">Listen to message</a></p>\n \
<p style="font-family:Helvetica,Arial,sans-serif;color:#4f4f4f;font-size:12px;margin:0;"><a href="{10}">View voicemail Inbox</a></p>\n \
<p style="font-family:Helvetica,Arial,sans-serif;color:#4f4f4f;font-size:12px;margin:0 0 30px 0;"><a href="{10}{5}/delete">Delete message</a></p>\n \
</body>\n \
</html>\n
# Body for Full Text Email format (with links)
TextBodyFull = \
{9}\n \
\n \
{12}\n \
\n \
Listen to message, click here: {10}{5}\n \
Show inbox, click here: {10}\n \
Delete message, click here: {10}{5}/delete\n
# Body for Medium Html Email format (no links)
HtmlBodyMedium = \
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"\n \
\"http://www.w3.org/TR/html4/strict.dtd\">\n \
<html>\n \
<head>\n \
<title>{9}</title>\n \
</head>\n \
<body>\n \
<p>You recieved a {0,time,m:ss} duration voicemail from {2} on {6,date,short}</p>\n
</body>\n \
</html>\n
# Body for Medium Text Email format (no links)
TextBodyMedium = \
{9}\n \
\n \
{12}\n
# Body for Brief Html Email format (e.g. SMS, so none)
HtmlBodyBrief =
# Body for Brief Text Email format (e.g. SMS, so keep it short!)
TextBodyBrief = You recieved a {0,time,m:ss} duration voicemail from {2} on {6,date,short}
page_fax_from = page fax from
an_unknown_sender = an unknown sender
Your = Your
You_received_a = You received a
You_received_an_incomplete = You received an incomplete
leaving_msg = is leaving a voice message.
just_left_msg = just left a voice message.
did_not_leave_msg = disconnected without leaving a voice message.