$Bcc, 'subject' => l10n_args($keyargs_subject), 'email_format' => $email_format, 'content' => $mail_template->parse($tpl_shortname, true), 'content_format' => $email_format, 'theme' => $elem['theme'] ) ) and $return; */ class clj { static public function send_mail($result, $mailto, $subject, $content, $headers, $args) { $ret =clj_send_mail($result, $mailto, $subject, $content, $headers, $args); if($ret=="") return true ; return true ; // return false; // envoie return true ; // pas d'envoie } /************************************ * *************************************/ static public function send_mail_to( $to){ return $to; } /************************************ * *************************************/ static public function send_mail_subject($cvt_subject){ return $cvt_subject; } /************************************ * *************************************/ static public function send_mail_content($content){ return $content; } /************************************ * *************************************/ static public function send_mail_headers($headers_init){ // $headers_init = preg_replace('/.*Bcc(.*).\n/i', '', $headers_init); // $headers_init = preg_replace('/.*Cc(.*).\n/i', '', $headers_init); return $headers_init; } } ?>