@@ 1202-1204 (lines=3) @@ | ||
1199 | } |
|
1200 | if ($this->SingleTo) { |
|
1201 | foreach ($this->SingleToArray as $toAddr) { |
|
1202 | if (!@$mail = popen($sendmail, 'w')) { |
|
1203 | throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); |
|
1204 | } |
|
1205 | fputs($mail, 'To: ' . $toAddr . "\n"); |
|
1206 | fputs($mail, $header); |
|
1207 | fputs($mail, $body); |
|
@@ 1223-1225 (lines=3) @@ | ||
1220 | } |
|
1221 | } |
|
1222 | } else { |
|
1223 | if (!@$mail = popen($sendmail, 'w')) { |
|
1224 | throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); |
|
1225 | } |
|
1226 | fputs($mail, $header); |
|
1227 | fputs($mail, $body); |
|
1228 | $result = pclose($mail); |