@@ 1376-1378 (lines=3) @@ | ||
1373 | ||
1374 | if ($this->SingleTo) { |
|
1375 | foreach ($this->SingleToArray as $toAddr) { |
|
1376 | if (!@$mail = popen($sendmail, 'w')) { |
|
1377 | throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); |
|
1378 | } |
|
1379 | fwrite($mail, 'To: ' . $toAddr . "\n"); |
|
1380 | fwrite($mail, $header); |
|
1381 | fwrite($mail, $body); |
|
@@ 1389-1391 (lines=3) @@ | ||
1386 | } |
|
1387 | } |
|
1388 | } else { |
|
1389 | if (!@$mail = popen($sendmail, 'w')) { |
|
1390 | throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); |
|
1391 | } |
|
1392 | fwrite($mail, $header); |
|
1393 | fwrite($mail, $body); |
|
1394 | $result = pclose($mail); |