Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

How to do this line errors


1 reply to this topic

#1 wyzer

  • Community Member
  • 1 posts
  • Real Name:Muhammad Wyzer

Posted 22 May 2010, 09:25

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\oscommerce2\catalog\includes\classes\email.php on line 522

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\oscommerce2\catalog\includes\classes\email.php:522) in C:\xampp\htdocs\oscommerce2\catalog\includes\functions\general.php on line 33

Please help me, what I can do for this. I have run this program on localhost, and show errors.

#2 mdtaylorlrim

  • Community Member
  • 2,497 posts
  • Real Name:Mark
  • Gender:Male

Posted 22 May 2010, 12:31

View Postwyzer, on 22 May 2010, 09:25, said:

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\oscommerce2\catalog\includes\classes\email.php on line 522

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\oscommerce2\catalog\includes\classes\email.php:522) in C:\xampp\htdocs\oscommerce2\catalog\includes\functions\general.php on line 33

Please help me, what I can do for this. I have run this program on localhost, and show errors.
You are probably not running an smtp daemon.
Avoid the most asked question. See How to Secure My Site and How do I...?