" ; $mail_content .= $this->get_text_madame_monsieur($empr->id_empr); $mail_content .= "
".$this->get_parameter_value('before_list'); $mail_content .= '
'.$empr->tit.''; $mail_content .= '
' ; $mail_content .= $msg['resa_planning_date_debut'].' '.$empr->aff_resa_date_debut.' '.$msg['resa_planning_date_fin'].' '.$empr->aff_resa_date_fin ; $mail_content .= "
".$this->get_parameter_value('after_list'); $mail_content .= "
".$this->get_parameter_value('fdp'); $mail_content .= "

".$this->get_mail_bloc_adresse(); $mail_content .= ''; return $mail_content; } public function send_mail($empr) { global $msg, $charset; global $biblio_name, $biblio_email, $PMBuseremailbcc; $headers = "MIME-Version: 1.0\n"; $headers .= "Content-type: text/html; charset=".$charset."\n"; $mail_content = $this->get_mail_content($empr); $res_envoi=mailpmb($empr->empr_prenom." ".$empr->empr_nom, $empr->empr_mail, $this->get_mail_object($empr),$mail_content,$biblio_name, $biblio_email, $headers, "", $PMBuseremailbcc, 1); return $res_envoi; } }