WhitePhantom
New Member
Hi,
This is really baffling me. I've created a php Contact Us form which, on submit, calls a page called contact.php. At the top of that page is a variable, $to. When $to is set to one of my email address, the info on the form is collected and emailed to me, no problem. When I set it to my client's email address, nothing arrives in the inbox.
I've checked, double-checked and triple-checked everything, and I just can't see what's wrong with it. The email address is correct, because I sent an email from my own email account, and it arrived 2 seconds later. It's just the php code that won't send it.
I'm new to php and this is my first form, but it all seems pretty straightforward. The only difference I can see is that my client's email address is a .ie, and mine are all .com. I can't see how that could possibly have any bearing on things, but just said I'd mention it...
Someone please help before I start crying!!
J.
This is really baffling me. I've created a php Contact Us form which, on submit, calls a page called contact.php. At the top of that page is a variable, $to. When $to is set to one of my email address, the info on the form is collected and emailed to me, no problem. When I set it to my client's email address, nothing arrives in the inbox.
I've checked, double-checked and triple-checked everything, and I just can't see what's wrong with it. The email address is correct, because I sent an email from my own email account, and it arrived 2 seconds later. It's just the php code that won't send it.
I'm new to php and this is my first form, but it all seems pretty straightforward. The only difference I can see is that my client's email address is a .ie, and mine are all .com. I can't see how that could possibly have any bearing on things, but just said I'd mention it...
Someone please help before I start crying!!
J.