Closed Artic6 closed 3 days ago
Which version of Cachet are you currently using?
V2.4.1
On Wed, 3 Jul 2024 at 14:23, James Brooks @.***> wrote:
Which version of Cachet are you currently using?
— Reply to this email directly, view it on GitHub https://github.com/cachethq/cachet/issues/4408#issuecomment-2206068563, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD7S746OJW5OQ2ZXJIUILTZKP3L7AVCNFSM6AAAAABKJNSFEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBWGA3DQNJWGM . You are receiving this because you authored the thread.Message ID: @.***>
what would be nice is if you could tell me the file where I can customise the outbound email for an incident or if I can call another file that has the HTML content in it
I have found files called new.blade.php and new.blade.php in this folder:
/var/www/html/Cachet/resources/views/notifications/incident
the new.blade.php has the contents of this:
@component('mail::message')
{{ $incident->message }}
@component('mail::button', ['url' => $actionUrl]) {{ $actionText }} @endcomponent
@lang('Thanks,')
{{ Config::get('setting.app_name') }}
@include('notifications.partials.subscription')
@endcomponent
However that does not look like HTML at all but it does refer to @component('mail::message') - where is this file located ?
Looks like the folder I require is this :
/var/www/html/Cachet/resources/views/vendor/mail/html
If I ammend the header.blade.php I can add in an image with html, but I cannot tell how the rest of the email is formatted with the content ?
I figured this problem out myself so I’m closing it
if I send an instant update is there a way I can change the code so that Rowson send the default email. It sends one to a certain HTML file located on the server?
we are looking to brand emails that send out and at the moment I can’t see which file I need to update apply them to the emails received by the end users?