Do it in a Controller maybe? <?php namespace App\Http\Controllers; use Illuminate\Http\Request;...
on that line you use $to->email but your passing a value from env(). So $to isn't an object.
IIRC data-* attributes are used mainly for CSS and Javascript. You'll want to use the value attribut...
I was bored so i thought id look. There aren't any tagged releases for v1 or v2 but I found these co...
The Laravel portal for problem solving, knowledge sharing and community building.
The community