Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
<?php
namespace HiEvents\Mail\Account;
use HiEvents\Helper\Url;
use HiEvents\Mail\BaseMail;
use Illuminate\Mail\Mailables\Content;
use Illuminate\Mail\Mailables\Envelope;
/**
* @uses /backend/resources/views/emails/user/confirm-email-address.blade.php
*/
class ConfirmEmailAddressEmail extends BaseMail
{
private string $token;
public function __construct(string $token)
{
parent::__construct();
$this->token = $token;
}
public function envelope(): Envelope
{
return new Envelope(
subject: __('Welcome to :app_name! Please confirm your email address', [
'app_name' => config('app.name'),
]),
);
}
public function content(): Content
{
return new Content(
markdown: 'emails.user.confirm-email-address',
with: [
'link' => sprintf(Url::getFrontEndUrlFromConfig(Url::CONFIRM_EMAIL_ADDRESS), $this->token),
]
);
}
}