summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-03-22 06:54:09 +0100
committerDave Lawrence <dlawrence@mozilla.com>2012-03-22 06:54:09 +0100
commite1097806541f0cab4e0abff765a1db8cd4d723c2 (patch)
tree64934bd7ca5fd26b77fe6ec14984331a6a40b5e4 /extensions
parent3ea72a56c5bab10fa9d484e0a4c9e343163b7228 (diff)
downloadbugzilla-e1097806541f0cab4e0abff765a1db8cd4d723c2.tar.gz
bugzilla-e1097806541f0cab4e0abff765a1db8cd4d723c2.tar.xz
Bug 656537 - automatically send a test email when a certificate is uploaded or changed via the securemail preferences tab
r=glob
Diffstat (limited to 'extensions')
-rw-r--r--extensions/SecureMail/template/en/default/account/email/securemail-test.txt.tmpl23
1 files changed, 23 insertions, 0 deletions
diff --git a/extensions/SecureMail/template/en/default/account/email/securemail-test.txt.tmpl b/extensions/SecureMail/template/en/default/account/email/securemail-test.txt.tmpl
new file mode 100644
index 000000000..e4f4c9242
--- /dev/null
+++ b/extensions/SecureMail/template/en/default/account/email/securemail-test.txt.tmpl
@@ -0,0 +1,23 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[% PROCESS global/variables.none.tmpl %]
+
+From: [% Param('mailfrom') %]
+To: [% to_user %]
+Subject: [% terms.Bugzilla %] SecureMail Test Email
+X-Bugzilla-Type: securemail-test
+
+Congratulations! If you can read this, then your SecureMail encryption
+key uploaded to [% terms.Bugzilla %] is working properly.
+
+To update your SecureMail preferences at any time, please go to:
+[%+ urlbase %]userprefs.cgi?tab=securemail
+
+Sincerely,
+Your Friendly [% terms.Bugzilla %] Administrator