* finish task #5301.

This commit is contained in:
wangyidong
2019-02-20 19:58:03 +08:00
parent 1d317c5fb3
commit 9e3bdec8f8
+3
View File
@@ -313,6 +313,9 @@ class mailModel extends model
try
{
/* Add for task #5301. */
if(function_exists('putenv')) putenv('RES_OPTIONS=retrans:1 retry:1 timeout:1 attempts:1');
$this->mta->setFrom($this->config->mail->fromAddress, $this->convertCharset($this->config->mail->fromName));
$this->setSubject($this->convertCharset($subject));
$this->setTO($toList, $emails);