- function send(&$env, $from, $titre, $message, $dest, $captcha)
- { $env->set_out("ENVOYE", false);
- if($captcha && !file_exists($env->path("libs")."ptitcaptcha.php"))
- { $env->erreur("fichier du captcha introuvable");
- return false;
- }
- if(!$captcha || PtitCaptchaHelper::checkCaptcha())
- { if($from)
- { if($dest)
- { if
- ( mail
- ( $dest,
+ function __send_form(&$env, $from, $titre, $message, $dest, $captcha){
+ $env->set_out("ENVOYE", false);
+ if(!$captcha || PtitCaptchaHelper::checkCaptcha()){
+ if($from){
+ if($dest){
+ if(
+ @mail(
+ $dest,