Forum Moderators: coopster

Message Too Old, No Replies

PHP Mail not sending emails to a select address

         

Nucleo

12:51 pm on Sep 7, 2009 (gmt 0)

10+ Year Member



Hello,
I have a website hosted at www.domain.com , within it, a contact form which uses PHP's mail command.

If I set the TO: email to me@gmail.com I receive the email, if I try to send an email to me@domain.com I dont receive anything?

Can anyone have a stab as to why this is happening?

Emails can be received on the account, junk filers are turned off and there is nothing in the junk box. It seems to be something to do with the PHP config I just can't put my finger on what.

Thanks all.

rocknbil

5:26 pm on Sep 7, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are the To and the From the same address? It's a long shot, but I have been on a few systems where this won't send. Create a second test account on this domain and try it, to@domain.com and test@domain.com.

mack

11:48 pm on Sep 7, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



This is quite interesting, because I had a similar issue using the php mail command. Most addresses worked fine, some just didn't receive the mail. I thought it must be due to the email address its self, but could never solve it.

Mack.