137 - Mailable Testing Refresher and Demo

This commit is contained in:
Adam Wathan
2017-08-22 15:51:40 -04:00
parent 3a6be393f4
commit 4e00a17fa0
3 changed files with 33 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ class AttendeeMessageEmail extends Mailable
*/
public function build()
{
return $this->view('view.name');
return $this->subject($this->attendeeMessage->subject)
->text('emails.attendee-message-email');
}
}