summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRobby <robby@chatbelgie.be>2018-04-25 16:32:12 +0200
committerRobby <robby@chatbelgie.be>2018-04-25 16:32:12 +0200
commit5683f4592568f73082d2373f97de10c53b60ee4f (patch)
tree17c6844dba290765adae1fbb04b66c9af98860a0 /data
parentbafc17472ecce34fc91271c99faa18c27cdf9ed3 (diff)
Clarify available tokens for the email templates.
Diffstat (limited to 'data')
-rw-r--r--data/example.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/data/example.conf b/data/example.conf
index fdba3e4c3..60da3b9a0 100644
--- a/data/example.conf
+++ b/data/example.conf
@@ -984,6 +984,11 @@ mail
/*
* The subject and message of emails sent to users when they register accounts.
+ *
+ * Available tokens for this template are:
+ * %n - Gets replaced with the nickname
+ * %N - Gets replaced with the network name
+ * %c - Gets replaced with the confirmation code
*/
registration_subject = "Nickname registration for %n"
registration_message = "Hi,
@@ -997,6 +1002,11 @@ mail
/*
* The subject and message of emails sent to users when they request a new password.
+ *
+ * Available tokens for this template are:
+ * %n - Gets replaced with the nickname
+ * %N - Gets replaced with the network name
+ * %c - Gets replaced with the confirmation code
*/
reset_subject = "Reset password request for %n"
reset_message = "Hi,
@@ -1010,6 +1020,13 @@ mail
/*
* The subject and message of emails sent to users when they request a new email address.
+ *
+ * Available tokens for this template are:
+ * %e - Gets replaced with the old email address
+ * %E - Gets replaced with the new email address
+ * %n - Gets replaced with the nickname
+ * %N - Gets replaced with the network name
+ * %c - Gets replaced with the confirmation code
*/
emailchange_subject = "Email confirmation"
emailchange_message = "Hi,
@@ -1023,6 +1040,13 @@ mail
/*
* The subject and message of emails sent to users when they receive a new memo.
+ *
+ * Available tokens for this template are:
+ * %n - Gets replaced with the nickname
+ * %s - Gets replaced with the sender's nickname
+ * %d - Gets replaced with the memo number
+ * %t - Gets replaced with the memo text
+ * %N - Gets replaced with the network name
*/
memo_subject = "New memo"
memo_message = "Hi %n,