I'm developing my site on my local computer under XAMPP Appache & MySQL. I'm trying to have my site send an e-mail and I'm getting error msg: "Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in ..." Is it the port number that is wrong? Where/How do I find the correct port number? Or, what do I do to get a connection? I was told to create a php file called info.php with the following code: <?php phpinfo(); ?> upload, execute it and look for SMTP Port info... I did this. The result shows: SMTP localhost smtp_port 25 and so it doesn't help me. It looks to me as if this is just info obtained from the php.ini file. Is this just a logical port? Does it exist on my computer? How do I get around this problem? Thanks
In your First message you have not stated whether it is on your local system or server. While requesting help please state your issues clearly. You are trying to execute a SMTP server which does not exist on your local system.
Sorry I didn't provide all necessary info in first instance. Of course it was not intentional but simply lack of knowledge. Yes, I'm running Windows. Where do I get an SMTP server & how do I install?
Hi all, Which OS you are running. if u are running MS Xp. then no need to install SMTP. By defaut SMTP works.
1) Yes, I'm using MS XP. 2) How do I "telnet port 25 of my computer to see if it responds? I don't know what you mean by "telnet". Many tahnks for your help! Michael