Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

1.2K
Visualizações
No hint path defined for [mail] Laravel 8

In my Laravel Project i am trying to use Email sender and i use Mailable and a Job in a queue and that is working fine, but now i am trying to send a email using markdown and for some reason is not working bcs of this error: "No hint path defined for [mail]"

in Mailable:

{
    use Queueable, SerializesModels;

    /**
     * Create a new message instance.
     *
     * @return void
     */
    public function __construct()
    {
        //
    }

    /**
     * Build the message.
     *
     * @return $this
     */
    public function build()
    {
        return $this->markdown('emails.orders.shipped',['url'=>'www.google.com']);
    }
} 

and this is blade view, its the default example of Laravel docs:

@component('mail::message')
# Introduction

The body of your message.

@component('mail::button', ['url' => $url])
Button Text
@endcomponent

Thanks,<br>
@endcomponent

I need to pass a url that is gonna be a string.

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

i have try this script it is working fine may be it is the issue of cache you can try this command

php artisan optimize:clear
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda