Page 1 of 1

sending email problem with XAMPP 1.5.4a in windows

PostPosted: 06. November 2006 21:04
by legolas
Hi
thank you for reading my post
I have installed the XAMPP 1.5.4a in windows XP but i have problem about sending emails from php application
here is the error that php application return
Code: Select all
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\su\sources\mail_submit.php on line 29



can some one please shed some lights , the application manual says that i do not need to change its source because i followd all instllation steps correctly.

thanks

PostPosted: 07. November 2006 19:10
by mATrIxLord
you have to edit the sendmail.ini file in order to be able to send mail with a php aplication. You can find de .ini file under de folder sendmail in your xampp installation. Also you must setup you php.ini files, they are in the php folder. In the php.ini file you must find "[mail function]" and you put your address of your mail server, if you have one; or just leave it like that if it is a localhost....