-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
email not working in prod although exception storing in db #47
Comments
can Anyone help???!!! |
Hey Mo, I'm very sorry but I just got back from vacation yesterday and did not see your request for help until now. Is your configuration set to use native mail or SMTP? if smtp is false then you will need to properly install the recommended packages for sending native mail on you production machine |
Hi Tyler, I checked config/mail.php It's a SMTP,port25 kind. I set the parameters in lern.php as well.
what else should I do? |
What version of Laravel are you using? Also check this out for more help with sending mail with laravel |
well SMTP server is our default config in our project and in other module, mailing works fine, we don't want to use mailtrap in production. but mailtrap works in localhost like I mentioned before |
So, SMTP works just fine in production for your other emails? What version of Laravel are you using? |
We are using the version 5.3.30 |
Hey Mo, So I found some time to test it out on 5.3.30 and I am having no issues getting it to send an email using SMTP. Can you try verifying your mail settings for production? |
Still I have the problem |
this is part of my code in handler.php protected $dontReport = [
|
recently after some manipulation sometimes when Laravel throwing error it says undefined index to ! which seems has to with static function nativeMail in MonologHandlerFactory.php line 352. Therefore it means it wants to use nativeMail function but like I said our mailing is smtp |
By the way our user/pass is null in production MAIL_DRIVER=smtp |
It is fixed now our smtp configuration was not good. thanks anyway |
Hi
I configured everything fine and even the exceptions saves in "vendor_tylercd100_lern_exceptions" table. In local-host (xamp server) it simply sends emails without any problem, but not working in prod!
The text was updated successfully, but these errors were encountered: