Skip to content

Commit

Permalink
Minor output cleanup, implements same as PHPMailer#1290
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Jan 15, 2018
1 parent 2a1dc5c commit 2834867
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ try {
$mail->send();
echo 'Message has been sent';
} catch (Exception $e) {
echo 'Message could not be sent.';
echo 'Mailer Error: ' . $mail->ErrorInfo;
echo 'Message could not be sent. Mailer Error: ', $mail->ErrorInfo;
}
```

Expand Down

0 comments on commit 2834867

Please sign in to comment.