Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Mail::send(...)
- if( count(Mail::failures()) > 0 ) {
- echo "There was one or more failures. They were: <br />";
- foreach(Mail::failures as $email_address) {
- echo " - $email_address <br />";
- }
- } else {
- echo "No errors, all sent successfully!";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement