valen Posted June 5, 2003 Posted June 5, 2003 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
Guest Posted June 5, 2003 Posted June 5, 2003 Hi John! You might want to have a look at this bug report and the solutions. http://www.oscommerce.com/community/bugs,1085
Recommended Posts
Archived
This topic is now archived and is closed to further replies.