Use a mailable then set the from email to be the users email.
Have the mailable receive the $user along with other data needed.
https://laravel.com/docs/7.x/mail#generating-markdown-mailables
/**
* Build the message.
*
* @return $this
*/
public function build()
{
return $this->from($this->user->email)
->markdown($toEmailAddress);
}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community