Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't send e-mails Help!!!!


Guest

Recommended Posts

for some reason today I can not send e-mails from the store to update an order. I get this error

 

Fatal error: Call to undefined function: tep_convert_linefeeds() in /home/prisonpa/public_html/packstore/admin/includes/classes/email.php on line 149

 

Here is my code. Can anyone help me?

 

/**

* Adds plain text. Use this function

* when NOT sending html email

*/

 

function add_text($text = '') {

(149) $this->text = tep_convert_linefeeds(array("\r\n", "\n", "\r"), $this->lf, $text);

}

 

/**

* Adds a html part to the mail.

* Also replaces image names with

* content-id's.

*/

Link to comment
Share on other sites

here is what mine looks like and it is working...

 

/**
* Adds plain text. Use this function
* when NOT sending html email
*/

   function add_text($text = '') {
     $this->text = tep_convert_linefeeds(array("\r\n", "\n", "\r"), $this->lf, $text);
   }

/**
* Adds a html part to the mail.
* Also replaces image names with
* content-id's.
*/

 

Looks to me that it's the same as yours. Try posting the whole file and maybe someone can find something else that is causing your problem.

 

Karen

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...