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?
There is nothing really in the contact us form which prevents you from sending email to someone from the same domain. Can you pls check using the below plugin –