Send ConfirmRegistration mail upon succesful registration
MODIFY
app/Http/Controllers/RegisterController.php
app/Http/Controllers/RegisterController.php
@@ -5,9 +5,11 @@ namespace App\Http\Controllers;
use Illuminate\Http\Request;
// use App\Http\Controllers\Controller;
+use App\Mail\ConfirmRegistration;
use App\Currency;
use App\User;
use Hash;
+use Mail;
class RegisterController extends Controller {
public function index() {
@@ -34,6 +36,8 @@ class RegisterController extends Controller {
$user->save();
+ Mail::to($user->email)->send(new ConfirmRegistration($user));
+
return redirect('/register');
}
}

Send ConfirmRegistration mail upon succesful registration