79167580

Date: 2024-11-07 18:00:37
Score: 0.5
Natty:
Report link

I found the reason,a developer added this to the mail config file

'to' => [
        'address' => env('MAIL_TO_ADDRESS', '[email protected]'),
        'name' => env('MAIL_TO_NAME', 'Name'),
    ]

Because in the beginning the website was not supposed to send emails to users, only one person would be notified. this was overwritten the Mail::to($user->email) Now everything works fine

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Luis