The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by Resohead\LaravelTestMail\TestMailable: $id, $relations, $class, $keyBy
Loading history...
13
14
public $recipient;
15
16
/**
17
* Create a new message instance.
18
*
19
* @return void
20
*/
21
11
public function __construct(String $recipient)
22
{
23
11
$this->recipient = $recipient;
24
11
}
25
26
/**
27
* Build the message.
28
*
29
* @return $this
30
*/
31
10
public function build()
32
{
33
10
return $this->subject('Test email from '. config('app.name'))