Skip to content

Commit

Permalink
Whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Sep 14, 2017
1 parent 1106585 commit 18a34ad
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/PHPMailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -1732,24 +1732,24 @@ protected function smtpSend($header, $body)
$isSent = true;
}

$callbacks[] = ['issent'=>$isSent,'to'=>$to[0]];
$callbacks[] = ['issent'=>$isSent, 'to'=>$to[0]];
}
}

// Only send the DATA command if we have viable recipients
if ((count($this->all_recipients) > count($bad_rcpt)) and !$this->smtp->data($header . $body)) {
throw new Exception($this->lang('data_not_accepted'), self::STOP_CRITICAL);
}

$smtp_transaction_id = $this->smtp->getLastTransactionID();

if ($this->SMTPKeepAlive) {
$this->smtp->reset();
} else {
$this->smtp->quit();
$this->smtp->close();
}

foreach ($callbacks as $cb) {
$this->doCallback(
$cb['issent'],
Expand All @@ -1762,7 +1762,7 @@ protected function smtpSend($header, $body)
['smtp_transaction_id' => $smtp_transaction_id]
);
}

//Create error message for any bad addresses
if (count($bad_rcpt) > 0) {
$errstr = '';
Expand Down

0 comments on commit 18a34ad

Please sign in to comment.