Fix mail on sending mail
This commit is contained in:
parent
2c7333fd65
commit
191ccd1005
@ -4,12 +4,16 @@ class Process
|
||||
{
|
||||
private $data;
|
||||
private $mail_dir;
|
||||
private $to;
|
||||
private $to = [];
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->mail_dir = dirname(__FILE__);
|
||||
$this->to = 'simonet@antadis.com';
|
||||
|
||||
$_to = Db::getInstance()->ExecuteS("SELECT email FROM "._DB_PREFIX_."contactform_email");
|
||||
foreach ($_to as $k => $email) {
|
||||
$this->to[] = $email;
|
||||
}
|
||||
}
|
||||
|
||||
public function addProvider($post)
|
||||
|
Loading…
Reference in New Issue
Block a user