Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

strange line feed problem


valen

Recommended Posts

Posted

Hi, I've a few people using OSCommerce on a shared hosting windows system.

 

It works fine on most boxes, but one has problems with OSCommerce sending mails. What happens is that OSCommerce is sending bare linefeeds in mails, so when someone tries to register, they get;

 

Warning: mail() [function.mail]: SMTP server response: 451 See http://pobox.com/~djb/docs/smtplf.html. in C:hshomebrenxxxxx.comcatalogincludesclassesemail.php on line 456

 

Warning: Cannot modify header information - headers already sent by (output started at C:hshomebrenxxxxx.comcatalogincludesclassesemail.php:456) in C:hshomebrenxxxxx.comcatalogincludesfunctionsgeneral.php on line 23

 

I had a look at the code, and it does use $self->lf a lot. Where is this defined ? If I do a search replace on r with rn it sends fine, but I'd love to know where I'm supposed to fix this properly.

 

John

Archived

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

×
×
  • Create New...