diff --git a/doc/conf/LSattribute/LSattr_html/LSattr_html_password.docbook b/doc/conf/LSattribute/LSattr_html/LSattr_html_password.docbook index c9904415..30f78b84 100644 --- a/doc/conf/LSattribute/LSattr_html/LSattr_html_password.docbook +++ b/doc/conf/LSattribute/LSattr_html/LSattr_html_password.docbook @@ -165,6 +165,14 @@ + + bcc + + Mettre en BCC un mail systématiquement + (ou plusieurs en les séparant par des virgules). + + + headers diff --git a/public_html/includes/class/class.LSformElement_password.php b/public_html/includes/class/class.LSformElement_password.php index 491f910f..6fbd92c4 100644 --- a/public_html/includes/class/class.LSformElement_password.php +++ b/public_html/includes/class/class.LSformElement_password.php @@ -216,6 +216,9 @@ class LSformElement_password extends LSformElement { else { $headers = array(); } + if ($this -> params['html_options']['mail']['bcc']) { + $headers['Bcc']=$this -> params['html_options']['mail']['bcc']; + } if (sendMail( $mail, $this -> sendMail['subject'],