Recently i’ve successfully integrated mailcow on my server using reverse proxy. I have another web application running on same server. The application was developed on Laravel from which i need to send some mail on user demand. But having problem setting up my smtp connection. (Note: I am using same domain for both of my mail server + web application). Here is my environment variables:
and here is my laravel code:
when i execute this code i got this error:
Expected response code 354 but got code “554”, with message “554 5.5.1 Error: no valid recipients ”
If i use other service like (sendgrid/mailtrap) the code is working perfectly. I wanna know why i am having this problem when i am using mailcow!