I’m trying to send a mail through Postman but it sends a 500 error response.
Here’s the code in my controller:
Mail::to($user->email_address)->send(new ClientFinalRegistration($user));
It return an error response in Postman.
"error": "syntax error, unexpected token "=", expecting "]""
What does it mean?
>Solution :
The issue here is inside of the ClientFinalRegistration class. Probably when you were adding subject, body, etc.