Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Email Issues


Recommended Posts

I am new to OSC and doing final testing on our store before going live with it. I am experiencing an issue with the email.php functions. I have searched the boards, but no solution seems to work on our server.


Some background - we have full access to the smtp server and I have confirmed the port 25 is proper. I set the smtp values in php.ini and received errors that the SMTP could not be found. So, I tried the email contribution.


The first problem I ran into was that it could not find mail.php. So, I copied it over from the admin folder into the catalog/includes/class folder. Now I get the following error:


Fatal error: Cannot redeclare tep_db_connect() (previously declared in E:\...\catalog\includes\functions\database.php:13) in E:\...\catalog\includes\functions\database.php on line 13


I have searched for improper trailing spaces and cannot find any. The only time this error appears is when we attempt to send an email (so when we call the email.php script). The same error appears if we try to send emails through the admin tools.


Any guidance you can offer would be greatly appreciated. I apologize in advance if you feel that prior posts cover this, but none of the suggestions has resolved my issue.


Thanks in advance.



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...