Fix regression in sending emails

This commit is contained in:
Laurent Destailleur 2020-08-07 17:06:57 +02:00
parent bd5c4603e3
commit 795754273e

View File

@ -356,7 +356,7 @@ class CMailFile
}
$smtps->setSubject($subjecttouse);
$smtps->setTO($this->getValidAddress($this->to, 0, 1));
$smtps->setTO($this->getValidAddress($this->addr_to, 0, 1));
$smtps->setFrom($this->getValidAddress($this->addr_from, 0, 1));
$smtps->setTrackId($this->trackid);
$smtps->setReplyTo($this->getValidAddress($this->replyto, 0, 1));