laravel email messages do not arrive using a shared server but I do not have errors that guide me

0

I am sending email from the form using notify in shared server (hostinger) I do not receive error messages but the email does not reach the destination. Any suggestions?

 public function mailToAdmin(ContactFormRequest $message, Admin $admin)
  {        //send the admin an notification
    $admin->notify(new InboxMessage($message));
    // redirect the user back
    return redirect()->back()->with('message', 'Gracias por Contactarse! Le responderemos a la Brevedad!');
  }
    
asked by jagai 07.03.2018 в 03:03
source

1 answer

0

It can be several things

Verify if your mail has permissions, in the case of Gmail it asks you to deactivate the Auth2 and give it a button of permissions of IMAP and POP, besides another button to allow external accesses

    
answered by 07.03.2018 в 04:53