November 01, 2010 07:59AM
Hi! I recently added to my webpage that is hosted on a windows dedicated server , a contact page which had a few fields , Name, Phone number and Comment. I use EasyPHP to host my website on the server which run OS XP. I made a php script to receive e-mail that looks like this.
<?PHP
$ip = getenv("REMOTE_ADDR");
$adddate=date("D M d, Y g:i a");
$name = $_REQUEST['name'];
$email = $_REQUEST['email'];
$phone = $_REQUEST['phone'];
$submit = $_REQUEST['submit'];
$buwhaha = "$adddate
$ip
Name: $name
Email: $email
Phone : $phone
-----------------------------------";
mail ("tavi_sf@yahoo.com" , "Contact" , "$buwhaha" );
header("Location: index.html" );
?>
I tested It and works on a dedicated host but on Windows i can't find a smtp server to send me e-mail when someone uses the contact page . Can someone please point out how to make it work , a smtp server or some settings i need to check , i run windows xp on the remote server i have and basically tried every smtp server from google and it still won't e-mail me the contact info i want.
Thanks in advance !
Edited 1 time(s). Last edit at 11/01/2010 08:09AM by TaviSF.