-
-
Save parzibyte/87436a7e2ac28f33ae16d7021e7e477f 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 | |
namespace App\Mail; | |
use Illuminate\Mail\Mailable; | |
class ProbarCorreo extends Mailable | |
{ | |
public $nombre; | |
/** | |
* Create a new message instance. | |
* | |
* @return void | |
*/ | |
public function __construct($nombre) | |
{ | |
$this->nombre = $nombre; | |
} | |
/** | |
* Build the message. | |
* | |
* @return $this | |
*/ | |
public function build() | |
{ | |
return $this->view("correos/bienvenida") | |
->from("tu_correo@gmail.com") | |
->subject("Bienvenida a mi sitio"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment