sending email problem with XAMPP 1.5.4a in windows

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

sending email problem with XAMPP 1.5.4a in windows

Postby legolas » 06. November 2006 21:04

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.

Posts: 6
Joined: 06. November 2006 11:06

Postby mATrIxLord » 07. November 2006 19:10

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....
Posts: 15
Joined: 31. October 2006 18:05

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 64 guests