mercredi 30 janvier 2019

View [] not found

** The error log is: View [] not found. (View: /work/prj/resources/views/emails/notifyTest.blade.php) {"exception":"[object] (ErrorException(code: 0): View [] not found. (View: /work/prj/resources/views/emails/notifyTest.blade.php) at /work/php/arousal-service-common/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:137, InvalidArgumentException(code: 0): View [] not found. at /work/php/arousal-service-common/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:137)

I try to send an email like this:

$mail = new \App\Email\NotifyEmail(
                'Title',
                'content');
            $mail->onQueue('email');
            \Mail::to($email)->queue($mail);

$mail = new \App\Email\NotifyEmail(
                'name',
                'gender');
            $mail->onQueue('email');
            \Mail::to($email)->queue($mail);


public function build()
    {
        return $this->subject("this is test notification email")
            ->markdown(
                'emails.notifyTest',
                [
                    'name'   => $this->name,
                    'gender' => $this->currency,
                ]
            );
    }

How to solve this problem, **



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2Sj9Y2A
via IFTTT

Aucun commentaire:

Enregistrer un commentaire