Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save technoknol/f4fa103034ef1b965b8e3ae52b54f38c to your computer and use it in GitHub Desktop.
Save technoknol/f4fa103034ef1b965b8e3ae52b54f38c to your computer and use it in GitHub Desktop.
Laravel - Disable SSL verification for SMTP
<?php
// File :: config/mail.php
'stream' => [
'ssl' => [
'allow_self_signed' => true,
'verify_peer' => false,
'verify_peer_name' => false,
],
],
@jennyp786
Copy link

jennyp786 commented Nov 15, 2020

Thanks , I just reset the password and config cache clear , I got solution

@AtakanATC
Copy link

It's not working fine for me on Laravel 7.4

@maciej-laskowski
Copy link

@AtakanATC if you are looking for help provide more details. Which mailer are you using? what have you already tried? what is the exact error message that you are getting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment