Flex
4 months ago
164
2
Laravel

Method Illuminate\Mail\Mailer::from does not exist.

Posted 4 months ago by Flex

I am using Laravel 5.7 and using the following logic to sending emails in My Methods,

Mail::from('ABC');
Mail::to($user->email)->send(new VerifyMail($user));

but I got following error message BadMethodCallException Method Illuminate\Mail\Mailer::from does not exist.

how can I fix this problem? I need mark as ABC sender

Thanks.

Please sign in or create an account to participate in this conversation.