wip mail template using markdown
This commit is contained in:
parent
27de44354a
commit
44d5c17e8a
|
|
@ -47,7 +47,13 @@ public function envelope(): Envelope
|
||||||
public function content(): Content
|
public function content(): Content
|
||||||
{
|
{
|
||||||
return new Content(
|
return new Content(
|
||||||
htmlString: $this->mailing->message,
|
markdown: 'emails.scheduled-report',
|
||||||
|
with: [
|
||||||
|
'mailingContent' => $this->mailing->message,
|
||||||
|
'logoPath'=> Storage::disk('app')->path('images/smartcane.png'),
|
||||||
|
'subject' => $this->mailing->subject,
|
||||||
|
],
|
||||||
|
//htmlString: $this->mailing->message
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
<x-mail::message>
|
||||||
|
<img src="{{$message->embed($logoPath)}}" alt="Smartcane Logo">
|
||||||
|
|
||||||
|
# }}) Smartcane - +31 6 2037 6734
|
||||||
|
|
||||||
|
## Report update for {{$subject}}
|
||||||
|
|
||||||
|
**Body:**
|
||||||
|
|
||||||
|
{{$mailingContent}}
|
||||||
|
|
||||||
|
Thanks,<br>
|
||||||
|
|
||||||
|
{{config('app.name')}}
|
||||||
|
|
||||||
|
</x-mail::message>
|
||||||
Loading…
Reference in a new issue