Closes #722: Can send a test email
[platal.git] / templates / emails / mail.test.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2007 Polytechnique.org                             *}
4 {*  http://opensource.polytechnique.org/                                  *}
5 {*                                                                        *}
6 {*  This program is free software; you can redistribute it and/or modify  *}
7 {*  it under the terms of the GNU General Public License as published by  *}
8 {*  the Free Software Foundation; either version 2 of the License, or     *}
9 {*  (at your option) any later version.                                   *}
10 {*                                                                        *}
11 {*  This program is distributed in the hope that it will be useful,       *}
12 {*  but WITHOUT ANY WARRANTY; without even the implied warranty of        *}
13 {*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *}
14 {*  GNU General Public License for more details.                          *}
15 {*                                                                        *}
16 {*  You should have received a copy of the GNU General Public License     *}
17 {*  along with this program; if not, write to the Free Software           *}
18 {*  Foundation, Inc.,                                                     *}
19 {*  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA               *}
20 {*                                                                        *}
21 {**************************************************************************}
22
23 {config_load file="mails.conf" section="test_email"}
24 {if $mail_part eq 'head'}
25 {from full=#from#}
26 {to addr=$email}
27 {subject text="Test de ton adresse `$email`"}
28 {elseif $mail_part eq 'wiki'}
29 {if $sexe}Chère{else}Cher{/if} {$prenom},
30
31 Tu reçois ce mail car tu as demandé la confirmation du bon fonctionnement de ton adresse polytechnicienne {$email}.
32 {if $redirects->total() gt 1}Si toutes tes redirections fonctionnent correctement tu devrais recevoir une copie de ce mail
33 des boîtes suivantes :
34 {iterate from=$redirects item=mail}
35 * {$mail.email}
36 {/iterate}
37 {/if}
38
39 Tu trouveras sur le site divers outils pour gérer ton adresse email :
40 * [[https://www.polytechnique.org/emails/redirect|La gestion de tes redirections]]
41 * [[https://www.polytechnique.org/emails/antispam|La gestion de ton antispam]]
42 * [[https://www.polytechnique.org/emails/send|Un formulaire pour envoyer des mails d'où que tu sois]]
43
44 N'hésite pas à venir découvrir ou redécouvrir les services du site grâce au [[https://www.polytechnique.org/review|tour d'horizon]].
45
46 Merci encore de la confiance que tu portes à nos services.
47
48 -- \\
49 Très Cordialement,\\
50 L'Équipe de Polytechnique.org
51 {/if}
52
53 {* vim:set et sw=2 sts=2 sws=2: *}