Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

375
Views
Change default laravel email template theme sent to gmail or hotmail

This is default email generated and sent by laravel using smtp , and i want to change this default template like adding some pictures,url... how can i do that? thanks

image

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Run php artisan vendor:publish and navigate to resources/views/vendor/notifications then now you have two files, edit them.

over 4 years ago · Santiago Trujillo Report

0

Here i am only showing how can you change the default Laravel logo from your mail template

first step is to publish our Mail components inside our resource folder so that we can change the default configuration .

run the following command .

php artisan vendor:publish --tag=laravel-mail

Now this command will create a vendor folder inside your app/resources/views directory .

now you can provide your image path in the mail template to use your custom image on Mail as shown in the following code

    @component('mail::layout')
{{-- Header --}}
@slot('header')
@component('mail::header', ['url' => config('app.url')])
{{-- {{ config('app.name') }} --}}

<img src="{{asset('storage/logo/logo.jpg')}}" style="height: 75px;width: 75px;">

@endcomponent
@endslot

{{-- Body --}}
{{ $slot }}

{{-- Subcopy --}}
@isset($subcopy)
@slot('subcopy')
@component('mail::subcopy')
{{ $subcopy }}
@endcomponent
@endslot
@endisset

{{-- Footer --}}
@slot('footer')
@component('mail::footer')
© {{ date('Y') }} {{ config('app.name') }}. @lang('All rights reserved.')
@endcomponent
@endslot
@endcomponent

For more information you can visit here

over 4 years ago · Santiago Trujillo Report

0

While generating the auth using make:auth, it will generate the required views in the resources/view/auth folder.

You can customize the resources/views/auth/emails/password.blade.php page as you required. You can add images and url as asked

for more details here is the documentation

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!