Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mohammed_omer's avatar

Sending emails working locally but not in production

I am using godaddy vps hosting and have an email from them. when I use email credentials in .env file locally emails are sent successfuly, but in production and with the same credentials an error accurs ( 500 command unrecognized ). I cleared and cached config files and nothing worked.

0 likes
2 replies
mohammed_omer's avatar

I did, the vps is managed vps and they said everything on their side is correct.

Please or to participate in this conversation.