Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function __construct($remetente, $nome, $assunto, $destinatario, $data)
- {
- $this->remetente = $remetente;
- $this->nome = $nome;
- $this->assunto = $assunto;
- $this->destinatario = $destinatario;
- $this->data = $data;
- }
- public function build()
- {
- //$address = 'gabriel.jg04@gmail.com';
- $subject = 'E-mail de Usuário';
- $name = 'Juelito';
- return $this->view('emails.test',['texto'=>$this->data])
- ->from($this->remetente, $this->nome)
- ->replyTo($this->destinatario, $name)
- ->subject($this->assunto);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement