Do you have any error logs from your server? Or have you any option to see logs in outlook?
If it works sometimes and sometimes not it possible not a problem in your code but more in the server configuration. Maybe you can ask your provider.
Thank you for your response, unfortunately the laravel.log is emty, and I think the same, I think my code is not the problem, but I don't know where to see the configuration in my server outlook :(
I'm not familiar enough with server management to pinpoint you directly to the correct log files.
For that you need to have someone who managed your server and/or look at the configuration from your server mail software.
https://docs.aws.amazon.com/ses/latest/dg/troubleshoot-smtp.html , however this error may occur your sender verifications failed also. try to troubleshoot by sending the mail from shell and then re-check the code. if the sender's mail id is not recognized it may also fail to deliver.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.