Fix sendmail
This commit is contained in:
parent
5247d4db53
commit
b959187718
@ -99,7 +99,7 @@ Cordialement,
|
||||
--
|
||||
The lerdorf project",
|
||||
);
|
||||
Email::Sender::Simple::sendmail($mail);
|
||||
sendmail($mail);
|
||||
}
|
||||
|
||||
if ($level <= $display_level) {
|
||||
|
28
utils/lpt
28
utils/lpt
@ -1546,9 +1546,14 @@ Les roots ACU";
|
||||
Cc => 'Roots assistants <root@acu.epita.fr>',
|
||||
Subject => "[PILA][AUTH-FORTE] Authentification forte SSH non active"
|
||||
],
|
||||
attributes => {
|
||||
encoding => 'quoted-printable',
|
||||
charset => 'utf-8',
|
||||
format => 'flowed',
|
||||
},
|
||||
body_str => $body,
|
||||
);
|
||||
Email::Sender::Simple::sendmail($mail);
|
||||
sendmail($mail);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1584,9 +1589,14 @@ Les roots ACU";
|
||||
Cc => 'Roots assistants <root@acu.epita.fr>',
|
||||
Subject => "[PILA][ACCES] Compte suspendu"
|
||||
],
|
||||
attributes => {
|
||||
encoding => 'quoted-printable',
|
||||
charset => 'utf-8',
|
||||
format => 'flowed',
|
||||
},
|
||||
body_str => $body,
|
||||
);
|
||||
Email::Sender::Simple::sendmail($mail);
|
||||
sendmail($mail);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1752,9 +1762,14 @@ Les roots ACU";
|
||||
Cc => 'Roots assistants <root@acu.epita.fr>',
|
||||
Subject => "[PILA][SSH-KEY] Clef SSH non protégée"
|
||||
],
|
||||
attributes => {
|
||||
encoding => 'quoted-printable',
|
||||
charset => 'utf-8',
|
||||
format => 'flowed',
|
||||
},
|
||||
body_str => $body,
|
||||
);
|
||||
Email::Sender::Simple::sendmail($mail);
|
||||
sendmail($mail);
|
||||
};
|
||||
|
||||
cmd_ssh_keys_without_passphrase_generic(\&$process);
|
||||
@ -1813,9 +1828,14 @@ Les roots ACU";
|
||||
Cc => 'Roots assistants <root@acu.epita.fr>',
|
||||
Subject => "[PILA][SSH-KEY] Clef SSH non protégée supprimée"
|
||||
],
|
||||
attributes => {
|
||||
encoding => 'quoted-printable',
|
||||
charset => 'utf-8',
|
||||
format => 'flowed',
|
||||
},
|
||||
body_str => $body,
|
||||
);
|
||||
Email::Sender::Simple::sendmail($mail);
|
||||
sendmail($mail);
|
||||
};
|
||||
|
||||
cmd_ssh_keys_without_passphrase_generic(\&$process);
|
||||
|
Reference in New Issue
Block a user