Created
August 18, 2017 11:41
-
-
Save technoknol/f4fa103034ef1b965b8e3ae52b54f38c to your computer and use it in GitHub Desktop.
Laravel - Disable SSL verification for SMTP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// File :: config/mail.php | |
'stream' => [ | |
'ssl' => [ | |
'allow_self_signed' => true, | |
'verify_peer' => false, | |
'verify_peer_name' => false, | |
], | |
], |
@jennyp786 The error message you are receiving now regards a different problem. I would suggest you start with double checking your smtp credentials using an email client for example. Also, if you provide your SMTP password in .env file make sure it is enclosed in quotes.
Thanks , I just reset the password and config cache clear , I got solution
It's not working fine for me on Laravel 7.4
@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
Hi maciej-laskowski , I was facing same issues but after doing this I am getting another error
#message: """
Failed to authenticate on SMTP server with username "[email protected]" using 2 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code "535", with message "535 Incorrect authentication data ◀
". Authenticator PLAIN returned Expected response code 235 but got code "535", with message "535 Incorrect authentication data
".
"""