uawdijnntqw1x1x1
IP : 216.73.216.93
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
whatsapp-crm
/
app
/
Mail
/
CustomEmailVerification.php
/
/
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; use Illuminate\Support\Facades\URL; use Illuminate\Support\Facades\DB; class CustomEmailVerification extends Mailable { use Queueable, SerializesModels; protected $user; protected $template; public function __construct($user) { $this->user = $user; $this->template = DB::table('email_templates')->where('name', 'Verify Email')->first(); } public function build() { $verificationUrl = $this->verificationUrl($this->user); $templateContent = $this->replacePlaceholders($this->template->body, [ 'firstName' => $this->user->name, 'verificationLink' => $verificationUrl, ]); return $this->subject($this->template->subject) ->view('emails.custom_email_template') ->with([ 'body' => $templateContent, ]); } protected function verificationUrl($user) { return URL::temporarySignedRoute( 'verification.verify', now()->addMinutes(60), ['id' => $user->getKey(), 'hash' => sha1($user->getEmailForVerification())] ); } protected function replacePlaceholders($content, $placeholders) { foreach ($placeholders as $key => $value) { $content = str_replace('{' . $key . '}', $value, $content); } return $content; } }
/home/users/unlimited/www/whatsapp-crm/app/Mail/CustomEmailVerification.php