generated from boboko/starter
26 lines
638 B
PHP
26 lines
638 B
PHP
<?php
|
|
|
|
namespace App\Mail;
|
|
|
|
use Illuminate\Mail\Mailable;
|
|
use Illuminate\Mail\Mailables\Content;
|
|
use Illuminate\Mail\Mailables\Envelope;
|
|
|
|
/**
|
|
* Sent to whoever submitted the contact form. Deliberately generic: it never
|
|
* repeats what they wrote, so the form can't be used to deliver arbitrary text
|
|
* to someone else's inbox.
|
|
*/
|
|
class ContactConfirmationMail extends Mailable
|
|
{
|
|
public function envelope(): Envelope
|
|
{
|
|
return new Envelope(subject: __('storefront.contact.confirmation_subject'));
|
|
}
|
|
|
|
public function content(): Content
|
|
{
|
|
return new Content(view: 'emails.contact-confirmation');
|
|
}
|
|
}
|