spatie / mailcoach-support

Questions and support for Mailcoach
https://mailcoach.app
31 stars 2 forks source link

Test mail not coming through #215

Closed rubenvanassche closed 4 years ago

rubenvanassche commented 4 years ago

Hello,

I have purchased the script and installe dit on a DO server with the one click installer.

When I try to send an email I recive following error.

Type of App\Mail\TestMail::$theme must not be defined (as in class Illuminate\Mail\Mailable)

Symfony\Component\ErrorHandler\Error\

FatalError

in /var/www/html/app/Mail/TestMail.php (line 9)

use Illuminate\Bus\Queueable;use Illuminate\Mail\Mailable;use Illuminate\Queue\SerializesModels;class TestMail extends Mailable{ use Queueable, SerializesModels; public string $theme = 'mailcoach::mails.layout.mailcoach';

rubenvanassche commented 4 years ago

Hi this is solved by updating to Mailcoach 2.2.1!