File manager - Edit - /var/www/html/portal/app/Mail/RedefinirSenhaArteSacraMail.php
Back
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\Mailable; use Illuminate\Mail\Mailables\Content; use Illuminate\Mail\Mailables\Envelope; use Illuminate\Mail\Mailables\Address; use Illuminate\Queue\SerializesModels; class RedefinirSenhaArteSacraMail extends Mailable { use Queueable, SerializesModels; public $email; public $fullName; public $code; public function __construct($email, $fullName, $code) { $this->email = $email; $this->fullName = $fullName; $this->code = $code; } public function envelope(): Envelope { return new Envelope( subject: 'Redefinir Senha Arte Sacra Mail', from: new Address("naoresponda@angra.rj.gov.br", 'Prefeitura Municipal de Angra dos Reis'), to: $this->email, ); } public function content(): Content { return new Content( html: 'emails.redefinirSenhaArteSacra', with: [ 'fullName' => $this->fullName, 'code' => $this->code, ] ); } /** * Obter os anexos para a mensagem. * * @return array<int, \Illuminate\Mail\Mailables\Attachment> */ public function attachments(): array { return []; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.36 |
proxy
|
phpinfo
|
Settings