Msoft
3 months ago

How to customized email name in the Laravel App?

Posted 3 months ago by Msoft

I am using Laravel 5.7 and using Gmail to sending emails from My App. it is working fine. but currently receiving emails are showing like this.Example 36673283249829975 - Welcome to the site but I need change Example as PPS how can I do this? his is My VeryfyUser.php file in Mail folder

public function build()
    {
            $token = bin2hex(random_bytes(7));
    $token = hexdec($token);

       
        return $this->subject($token)->view('emails.verifyUser');
    }

Please sign in or create an account to participate in this conversation.