Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

sam0081's avatar

How to check mail is send successfully in laravel

How to check mail is send successfully in laravel

i am using

Mail::send('activate', $data, function($message) use ($email_to) {

              $message->to($email_to, '')->subject("Please activate your account.");
              $message->from($this->from_email,$this->from_name);
           });

thanks

0 likes
5 replies
36864's avatar

You could try emailing yourself. If you get the email, that's a pretty good indication that it's working.

sam0081's avatar

i am talking about if there is port error something i want to check in condition how i do that

marvin_46's avatar

i'm use this solution to solve the problem, thank you

Please or to participate in this conversation.