introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

SMTP server for Windows



Posted by: TaviSF
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.
Options: ReplyQuote
Posted by: Amour
November 01, 2010 09:18AM
You can use SMTP from your provider or install a SMTP server yourself.
Options: ReplyQuote
Posted by: TaviSF
November 01, 2010 11:38AM
as I mentioned in my previous post i did install smtp servers from google QK SMTP SERVER , PHP SMTP Server for windows , Free SMTP Server and 2+3 more than this but won't work . I'm asking if you could point me out to 1 tool that works or could explain how to use the smtp from my isp please cause i kinda skipped that part in networking school :) . Thanks in advance !
Options: ReplyQuote
Posted by: Amour
November 01, 2010 09:17PM
In your php.ini, if you have your own SMTP server, did you changed "SMTP = localhost" or activate it (remove ";") ?

If you send an email, what is the error message ?
Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.