mailable

Popularity
500+ learners.
La clase mailable es responsable de enviar emails usando un mailer que es configurado en el archivo config/mail.php.
The mailable class is responsible for sending emails using a mailer that's configured in the config/mail.php file.
Al final, también probamos la clase mailable creando un controlador personalizado para ver si funcionaba de verdad.
At the end, we also tested the mailable class by creating a custom controller to see if it actually works.
Usando el método view, puedes establecer la plantilla de email que será usada mientras se envía un email usando este mailable.
Using the view method, you can set the email template that will be used while sending an email using this mailable.
Comenzando con conceptos básicos, implementamos la clase mailable que es un elemento esencial en la API de correo en Laravel a medida que avanzamos.
Starting with basic concepts, we implemented the mailable class that is an essential element in the mail API in Laravel as we moved on.
Palabra del día
la fresa