Jump to content
Sign in to follow this  

phpMailer4osC contribution support

Recommended Posts


A simple contribution to make osCommerce works with smtp mail that requires authentication.

You can find this contribution here



I have followed the instructions uploaded the class.smtp and class.phpmailer from the zipped folder and changed the email.php files in both parts of my ftp. We have then tried to purchase a test item but got the error:


Warning: require_once(includes/classes/class.phpmailer.php) [function.require-once]: failed to open stream: No such file or directory in /home/palmers/public_html/includes/classes/email.php on line 531


Fatal error: require_once() [function.require]: Failed opening required 'includes/classes/class.phpmailer.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/palmers/public_html/includes/classes/email.php on line 531


The instructions say to to put the class.smtp and class.phpmailer in the class


require_once(DIR_WS_CLASSES . "class.phpmailer.php");

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this