email question
Posted: Fri Aug 01, 2003 3:14 am
I found a nifty email script that I have used over and over again on various PHP servers, but I am only now experiening problems with it. On my server, I have been able to make an email form that functions correctly and send emails to almost all addresses except for when the user has an email address of the same domain as the host serving the website. I dont know if that makes any sense, so I'll explain it another way.
Let's say my site is called coolweb.com and I create an online form for visitors to fill out to send emails. The form will work as long as the user enters a valid "from" email address. The only time it doesn't work is when the user has an email address of the same host (@coolweb.com). When the user has the same email domain as the host, the script seems to die. This problem i also only unique to the site I set up today. on my personal host, I can send fromt eh same address the host uses with nor problems. Can anyone give me any ideas why the host email address would cause the mail function to error out? Thansk.
Let's say my site is called coolweb.com and I create an online form for visitors to fill out to send emails. The form will work as long as the user enters a valid "from" email address. The only time it doesn't work is when the user has an email address of the same host (@coolweb.com). When the user has the same email domain as the host, the script seems to die. This problem i also only unique to the site I set up today. on my personal host, I can send fromt eh same address the host uses with nor problems. Can anyone give me any ideas why the host email address would cause the mail function to error out? Thansk.