request_auth.tt2 1.91 KB
Newer Older
1
[%# request_auth.tt2 ~%]
2
To: [% to %]
3
[% IF user_interfaces.size() == 1 and user_interfaces.0 == 'mail' -%]
4
Subject: [% FILTER qencode %]AUTH [%keyauth%] [%cmd%][%END%]
5
6
7
8
9
10
11
[%- ELSIF type == 'signoff' -%]
Subject: [% FILTER qencode %][%|loc(conf.title,list.name)%]%1 / unsubscribing from %2[%END%][%END%]
[%- ELSIF type == 'subscribe' -%]
Subject: [% FILTER qencode %][%|loc(conf.title,list.name)%]%1 / subscribing to %2[%END%][%END%]
[%- ELSE -%]
Subject: [% FILTER qencode %]AUTH [%keyauth%] [%cmd%][%END%]
[%- END %]
12

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

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

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

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

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

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

31
32
33
34
35
[%- ELSE -%]
[%|loc(type)%]You requested an action '%1'.[% END -%]

[%- END -%]

36
[% IF not conf.wwsympa_url -%]
37
[% sympa = BLOCK %][% conf.email %]@[% domain %][%END -%]
38
[%|loc(sympa,"AUTH ${keyauth} ${cmd}") %]If you want this action to be taken, please
39
40
41
42
43
44

- reply to this mail
OR
- send a message to %1 with subject
 %2
OR
45
- click on the following URL[% END %]
46
47
48
49
50
  [% sympa | mailtourl({subject => "AUTH ${keyauth} ${cmd}"}) %]
[%- ELSE -%]
[%|loc%]If you want this action to be taken, please hit the following link:[%END%]
  [% 'auth' | url_abs([keyauth,type],{email=>to}) ~%]
[%- END %]
51

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