ldc-jeusselin/app/Mail/InformProOpenAcess.php

34 lines
604 B
PHP
Raw Permalink Normal View History

2021-03-22 16:59:52 +01:00
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
class InformProOpenAcess extends Mailable
{
use Queueable;
use SerializesModels;
2021-03-22 16:59:52 +01:00
/**
* Create a new message instance.
*
* @return void
*/
public function __construct($user)
{
$this->user = $user;
}
/**
* Build the message.
*
* @return $this
*/
public function build()
{
return $this->subject("Ouverture de votre accès")->view('fo.mail.openpro')->with('user', $this->user);
2021-03-22 16:59:52 +01:00
}
}