Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Send email from Admin returns "Class not found"


Avec

Recommended Posts

As it says, all the auto-generated emails work fine, account creation, status change, etc. However, when using Admin>tools>Send Email, after previewing message hitting 'Send' the following message appears

Fatal error: Class 'email' not found in mail.php on line 40

 

This is the offending line

$mimemessage = new email(array('X-Mailer: domainname.com Mailer','Return-Path: email@domainname.com'));

 

This function did work, but a recent host change apparently has caused problems.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...