Archived
1
0

Fix sendmail

This commit is contained in:
Mercier Pierre-Olivier 2013-11-14 17:35:14 +01:00
parent 5247d4db53
commit b959187718
2 changed files with 25 additions and 5 deletions

View File

@ -99,7 +99,7 @@ Cordialement,
-- --
The lerdorf project", The lerdorf project",
); );
Email::Sender::Simple::sendmail($mail); sendmail($mail);
} }
if ($level <= $display_level) { if ($level <= $display_level) {

View File

@ -1546,9 +1546,14 @@ Les roots ACU";
Cc => 'Roots assistants <root@acu.epita.fr>', Cc => 'Roots assistants <root@acu.epita.fr>',
Subject => "[PILA][AUTH-FORTE] Authentification forte SSH non active" Subject => "[PILA][AUTH-FORTE] Authentification forte SSH non active"
], ],
attributes => {
encoding => 'quoted-printable',
charset => 'utf-8',
format => 'flowed',
},
body_str => $body, body_str => $body,
); );
Email::Sender::Simple::sendmail($mail); sendmail($mail);
} }
} }
@ -1584,9 +1589,14 @@ Les roots ACU";
Cc => 'Roots assistants <root@acu.epita.fr>', Cc => 'Roots assistants <root@acu.epita.fr>',
Subject => "[PILA][ACCES] Compte suspendu" Subject => "[PILA][ACCES] Compte suspendu"
], ],
attributes => {
encoding => 'quoted-printable',
charset => 'utf-8',
format => 'flowed',
},
body_str => $body, body_str => $body,
); );
Email::Sender::Simple::sendmail($mail); sendmail($mail);
} }
} }
@ -1752,9 +1762,14 @@ Les roots ACU";
Cc => 'Roots assistants <root@acu.epita.fr>', Cc => 'Roots assistants <root@acu.epita.fr>',
Subject => "[PILA][SSH-KEY] Clef SSH non protégée" Subject => "[PILA][SSH-KEY] Clef SSH non protégée"
], ],
attributes => {
encoding => 'quoted-printable',
charset => 'utf-8',
format => 'flowed',
},
body_str => $body, body_str => $body,
); );
Email::Sender::Simple::sendmail($mail); sendmail($mail);
}; };
cmd_ssh_keys_without_passphrase_generic(\&$process); cmd_ssh_keys_without_passphrase_generic(\&$process);
@ -1813,9 +1828,14 @@ Les roots ACU";
Cc => 'Roots assistants <root@acu.epita.fr>', Cc => 'Roots assistants <root@acu.epita.fr>',
Subject => "[PILA][SSH-KEY] Clef SSH non protégée supprimée" Subject => "[PILA][SSH-KEY] Clef SSH non protégée supprimée"
], ],
attributes => {
encoding => 'quoted-printable',
charset => 'utf-8',
format => 'flowed',
},
body_str => $body, body_str => $body,
); );
Email::Sender::Simple::sendmail($mail); sendmail($mail);
}; };
cmd_ssh_keys_without_passphrase_generic(\&$process); cmd_ssh_keys_without_passphrase_generic(\&$process);