Fixed the smtps recipent to use the forced address

This commit is contained in:
Tim Otte 2020-08-14 10:00:40 +02:00
parent a53f7ff9c9
commit b57c2585ad

View File

@ -355,7 +355,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->from, 0, 1));
$smtps->setTrackId($this->trackid);
$smtps->setReplyTo($this->getValidAddress($this->replyto, 0, 1));