This commit is contained in:
deploy-bot committed 2026-12-04 15:50:10 +00:00
commit 5b230c75aa
278 files changed
+18390

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
<?php
namespace IriksIT\Manager\Mail;
use Illuminate\Mail\Mailable;
use Illuminate\Mail\Mailables\Content;
use Illuminate\Mail\Mailables\Envelope;
use IriksIT\Manager\Models\Lead;
/** A short confirmation to the visitor with what was sent (`manager.leads.confirm`, off by default). View: `manager::mail.lead-confirmation`. */
class LeadConfirmation extends Mailable
{
public function __construct(public Lead $lead) {}
public function envelope(): Envelope
{
return new Envelope(subject: (string) __('We received your message'));
}
public function content(): Content
{
return new Content(view: 'manager::mail.lead-confirmation', with: ['lead' => $this->lead]);
}
}