I host my domain abc.com on server X.
The mail of this domain is hosted in server Y.
I am trying to send mail from contact us or comment to domain abc.com but no mail are received.
We suspect that the code identify that abc.com is local domain and therefore avoid the sending (when I set the mail receipt to gmail.com the mail are received).
Could that be the reason? Is there any way to overcome it?