LSformElement :: password : Added bcc feature in mail options
[ldapsaisie.git] / public_html / includes / class / class.LSformElement_password.php
index 491f910..6fbd92c 100644 (file)
@@ -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'],