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>
|
</listitem>
|
||||||
</varlistentry>
|
</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>
|
<varlistentry>
|
||||||
<term>headers</term>
|
<term>headers</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
|
|
@ -216,6 +216,9 @@ class LSformElement_password extends LSformElement {
|
||||||
else {
|
else {
|
||||||
$headers = array();
|
$headers = array();
|
||||||
}
|
}
|
||||||
|
if ($this -> params['html_options']['mail']['bcc']) {
|
||||||
|
$headers['Bcc']=$this -> params['html_options']['mail']['bcc'];
|
||||||
|
}
|
||||||
if (sendMail(
|
if (sendMail(
|
||||||
$mail,
|
$mail,
|
||||||
$this -> sendMail['subject'],
|
$this -> sendMail['subject'],
|
||||||
|
|
Loading…
Reference in a new issue