request_auth.tt2 2.02 KB
Newer Older
1
[%# request_auth.tt2 ~%]
2
To: [% to %]
3
4
5
[% IF conf.wwsympa_url && type == 'family_signoff' -%]
Subject: [%"%1 / unsubscribing from family %2"|loc(conf.title,family.name)|qencode%]
[%- ELSIF conf.wwsympa_url && type == 'signoff' -%]
6
Subject: [%"%1 / unsubscribing from %2"|loc(conf.title,list.name)|qencode%]
IKEDA Soji's avatar
IKEDA Soji committed
7
[%- ELSIF conf.wwsympa_url && type == 'subscribe' -%]
8
Subject: [%"%1 / subscribing to %2"|loc(conf.title,list.name)|qencode%]
9
[%- ELSE -%]
10
Subject: [%"AUTH ${keyauth} ${cmd}"|qencode%]
11
[%- END %]
12

13
14
15
16
[% IF type == 'family_signoff' -%]
[%|loc(family.name)-%]You requested that your e-mail address be removed from family '%1'.[%- END -%]

[%- ELSIF type == 'signoff' -%]
17
[%|loc(list.name)-%]You requested that your e-mail address be removed from list '%1'.[%- END -%]
18

19
[%- ELSIF type == 'subscribe' -%]
20
[%|loc(list.name)-%]You requested that your e-mail address be added to list '%1'.[%- END -%]
21

22
[%- ELSIF type == 'add' -%]
23
[%|loc(list.name)-%]You've made a user subscription request to list %1.[%- END -%]
24

25
[%- ELSIF type == 'del' -%]
26
[%|loc(list.name)-%]You've made a user removal request from list %1.[%- END -%]
27

28
[%- ELSIF type == 'remind' -%]
29
[%|loc(list.name)-%]You requested a subscription reminder to be sent to each subscriber of list %1[%- END -%]
30

31
[%- ELSIF type == 'global_remind' -%]
32
[%|loc-%]You requested a subscription reminder to be sent to each subscriber of list '*'[%- END -%]
33

34
35
36
37
38
[%- ELSE -%]
[%|loc(type)%]You requested an action '%1'.[% END -%]

[%- END -%]

IKEDA Soji's avatar
IKEDA Soji committed
39
40
41
42
43
[% IF conf.wwsympa_url -%]
[%|loc%]If you want this action to be taken, please hit the following link:[%END%]
  [% 'auth' | url_abs([keyauth,type],{email=>to}) ~%]
[%- ELSE -%]
[%|loc("${conf.email}@${domain}","AUTH ${keyauth} ${cmd}") %]If you want this action to be taken, please
44
45
46
47
48
49

- reply to this mail
OR
- send a message to %1 with subject
 %2
OR
50
- click on the following URL[% END %]
IKEDA Soji's avatar
IKEDA Soji committed
51
  [% "${conf.email}@${domain}" | mailtourl({subject => "AUTH ${keyauth} ${cmd}"}) %]
52
[%- END %]
53

54
[%|loc-%]If you do not want this action to be taken, you can safely ignore this message.[% END %]