Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. public function __construct($remetente, $nome, $assunto, $destinatario, $data)
  2. {
  3. $this->remetente = $remetente;
  4. $this->nome = $nome;
  5. $this->assunto = $assunto;
  6. $this->destinatario = $destinatario;
  7. $this->data = $data;
  8. }
  9.  
  10. public function build()
  11. {
  12. //$address = 'gabriel.jg04@gmail.com';
  13. $subject = 'E-mail de Usuário';
  14. $name = 'Juelito';
  15.  
  16. return $this->view('emails.test',['texto'=>$this->data])
  17. ->from($this->remetente, $this->nome)
  18. ->replyTo($this->destinatario, $name)
  19. ->subject($this->assunto);
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement