XAMMP, mailserver and port 25

Problems with the Windows version of XAMPP, questions, comments, and anything related.

XAMMP, mailserver and port 25

Postby Jedi159 » 08. March 2010 21:15

Hi,

I'm trying to teach myself php having set up XAMPP two days ago. Tonight I tried to use a php script that works on my web server but doesn't work on XAMMP on my PC. I got the following error message:-

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\sendmail.php on line 8

I have searched the Forum for "port25" and there are only two posts which are in German. I noticed Mercury was mentioned in one of them so I switched Mercury on and tried again. I still got the same error message

Can anyone help?

Jedi159
Jedi159
 
Posts: 7
Joined: 03. March 2010 14:21

Re: XAMMP, mailserver and port 25

Postby WilliL » 08. March 2010 22:01

try to switch off the MercuryX module.
(Mercury/Admin -> Configuration -> Protocol Modules)
It seems that this module blocks Port 25.
Willi
WilliL
 
Posts: 660
Joined: 08. January 2010 10:54
Operating System: Win7Home Prem 64 SP1


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 103 guests