-
-
Save parzibyte/f8be0cb1921144731193d1a213b40b55 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
Route::get("/test_mail", function(Request $r){ | |
$destinatario = "el_correo@ejemplo.com"; | |
$nombre = "Luis Cabrera Benito"; | |
// Armar correo y pasarle datos para el constructor | |
$correo = new \App\Mail\ProbarCorreo($nombre); | |
# ¡Enviarlo! | |
\Mail::to($destinatario)->send($correo); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment