...

View Full Version : mail error



somiadiscon
11-17-2006, 05:57 AM
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 send.php on line 9

Warning: Cannot modify header information - headers already sent by (output started at send.php:9) in send.php on line 10

could you please tell me why this warning and error coming when i am using this cording help me to solve this problem

thanks:)

mlseim
11-17-2006, 02:59 PM
We need to see your PHP script.

ttttt
11-17-2006, 08:45 PM
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 send.php on line 9

Warning: Cannot modify header information - headers already sent by (output started at send.php:9) in send.php on line 10

It sounds like you have no mail server configured. Is this hosted by yourself or by a company?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum