kl2999 Posted May 30, 2005 Share Posted May 30, 2005 this might be asked a billion times, I having this error when sending a message from Contact us page Warning: 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:\program files\easyphp1-8\www\catalog\includes\classes\email.php on line 502 Warning: Cannot modify header information - headers already sent by (output started at c:\program files\easyphp1-8\www\catalog\includes\classes\email.php:502) in c:\program files\easyphp1-8\www\catalog\includes\functions\general.php on line 29 I testing my website using easy php....i set email option in admin to true. Link to comment Share on other sites More sharing options...
Winterchild Posted May 30, 2005 Share Posted May 30, 2005 this might be asked a billion times, I having this error when sending a message from Contact us page Have you searched then? Anyway, You need to set your specify your mail server instead of "localhost" in php.ini (on how to do this Google is your friend) or choose the easy way out and set sent mail to false Forum search Contributions search Documentation search (note: docs being adapted for MS3, may be different for MS2) 3 tips for better forum searching Want to post? Read this first: osCommerce for dummies Topic name etiquette Basics: Basics for design Right syntax to use near '-20, 20' Cannot re-assign $this Parse error Link to comment Share on other sites More sharing options...
kl2999 Posted May 30, 2005 Author Share Posted May 30, 2005 thank you Winterchild..search is best friend, I remember that.. Link to comment Share on other sites More sharing options...
Darklings Posted May 30, 2005 Share Posted May 30, 2005 So your doing this local then? using easyphp? Then you prob need to customize your php.ini Dont blame me if i'm wrong, so make a backup if you change anything, i'm new at this to :) Go to your easyphp folder (you prob installed it on your C: ) in that folder go to a folder called php there you must find a folder 'php'. In that folder locate 'php.ini'. Make a backup of it then go edit it (with whatever you like to, you can do it with notepad). Hit ctrl+F to activate the search. If i'm not wrong, search for something like 'mail function' you'll prob see something like sendmail_from... might change 'localhost' to your mailserver. Even in this dark place, yes, I am afraid of my own shadow. Contributions | KnowledgeBase | osCommerce 2.2 pdf Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.