@@ 1347-1349 (lines=3) @@ | ||
1344 | } |
|
1345 | if ($this->SingleTo) { |
|
1346 | foreach ($this->SingleToArray as $toAddr) { |
|
1347 | if (!@$mail = popen($sendmail, 'w')) { |
|
1348 | throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); |
|
1349 | } |
|
1350 | fputs($mail, 'To: ' . $toAddr . "\n"); |
|
1351 | fputs($mail, $header); |
|
1352 | fputs($mail, $body); |
|
@@ 1368-1370 (lines=3) @@ | ||
1365 | } |
|
1366 | } |
|
1367 | } else { |
|
1368 | if (!@$mail = popen($sendmail, 'w')) { |
|
1369 | throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); |
|
1370 | } |
|
1371 | fputs($mail, $header); |
|
1372 | fputs($mail, $body); |
|
1373 | $result = pclose($mail); |