@php use Carbon\Carbon; $start = Carbon::now()->subWeek()->startOfWeek(Carbon::MONDAY); $end = Carbon::now()->subWeek()->endOfWeek(Carbon::SUNDAY); @endphp @component('mail::message') # Weekly CD Audit Report: {{ $start->format('M d') }} - {{ $end->format('M d') }} This is the weekly CD Audit Report for the period {{ $start->format('F d') }} - {{ $end->format('F d') }}. Please find the attached file of CD audits of last week. Thanks,
{{ config('app.name') }} @endcomponent