mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
LSformElement :: password : Added bcc feature in mail options
This commit is contained in:
parent
417babf7e7
commit
fb82854f8c
2 changed files with 11 additions and 0 deletions
|
@ -165,6 +165,14 @@
|
|||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>bcc</term>
|
||||
<listitem>
|
||||
<simpara>Mettre en <emphasis>BCC</emphasis> un mail systématiquement
|
||||
(ou plusieurs en les séparant par des virgules).</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>headers</term>
|
||||
<listitem>
|
||||
|
|
|
@ -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'],
|
||||
|
|
Loading…
Reference in a new issue