|
@@ 1387-1389 (lines=3) @@
|
| 1384 |
|
|
| 1385 |
|
if ($this->SingleTo) { |
| 1386 |
|
foreach ($this->SingleToArray as $toAddr) { |
| 1387 |
|
if (!@$mail = popen($sendmail, 'w')) { |
| 1388 |
|
throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); |
| 1389 |
|
} |
| 1390 |
|
fputs($mail, 'To: ' . $toAddr . "\n"); |
| 1391 |
|
fputs($mail, $header); |
| 1392 |
|
fputs($mail, $body); |
|
@@ 1408-1410 (lines=3) @@
|
| 1405 |
|
} |
| 1406 |
|
} |
| 1407 |
|
} else { |
| 1408 |
|
if (!@$mail = popen($sendmail, 'w')) { |
| 1409 |
|
throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); |
| 1410 |
|
} |
| 1411 |
|
fputs($mail, $header); |
| 1412 |
|
fputs($mail, $body); |
| 1413 |
|
$result = pclose($mail); |