Laravel mail working locally but not on server

Hi everyone, I’m new.
I have an e-commerce website for graduation internships in my school.
So I uploaded it to hosting and used the free version.
I have an error that when I send the purchase confirmation mail at xampp’s localhost it works fine.
But when I uploaded to the hosting, the sending function completely failed and did not report any errors.
Please tell me what I should do.
Thanks very much

Looking at previous topics I would say you’ve got the option of using SMTP mailing How to use PHPMailer or upgrading to Hostinger to resolve the issue.

Apart from that you could try alternative free hosting or troubleshoot your issue by enabling the script debug which you’ll need to look into as we can’t assist script issues.

This topic was automatically closed after 46 hours. New replies are no longer allowed.