- osCommerce Support Forum
- → Viewing Profile: npn2531
Latest News: (loading..)
About Me
Oscommerce site:
www.niora.com
www.niora.com
Community Stats
- Group Community Member
- Active Posts 936 (0.36 per day)
- Most Active In General Support (553 posts)
- Profile Views 20,844
- Age Age Unknown
- Birthday Birthday Unknown
-
Real Name
Jase
-
Gender
Not Telling
14
Good
Latest Visitors
Posts I've Made
In Topic: help with newsletter and send mail (extra br's)
Yesterday, 04:44
I'm going to write your fix down, it is way easier than the convoluted answer I posted.
In Topic: help with newsletter and send mail (extra br's)
04 February 2012, 04:29
This behavior is set in two files. See catalog/includes/classes/mime.php and catalog/classes/mail.php. Search for "EMAIL_LINEFEED" . look at the definition of the variable of $this->lf it's either "\r\n" or "\n" ;
This has been rewritten in the updates for 2.3 Two contributions are also available that have changed this so that the html is email without those extra breaks. "Mailbeez" and "mail manager".
You can also fix that issue with this simple hack. Create your email piece as separate webpage using your desired web editor. When you have the email looking like you want it, do the following:
1) In your web editor back space at the end of each line, header included, so that your mail piece is in on one single really long line of html code. It should still look the same online.
2) Then cut and paste that single line into the newsletter manager. Viola, no extra breaks.
This has been rewritten in the updates for 2.3 Two contributions are also available that have changed this so that the html is email without those extra breaks. "Mailbeez" and "mail manager".
You can also fix that issue with this simple hack. Create your email piece as separate webpage using your desired web editor. When you have the email looking like you want it, do the following:
1) In your web editor back space at the end of each line, header included, so that your mail piece is in on one single really long line of html code. It should still look the same online.
2) Then cut and paste that single line into the newsletter manager. Viola, no extra breaks.
In Topic: About OsCommerce capability
31 January 2012, 06:40
google 'oscommerce wishlist' and you'll see a number of ways to do this.
In Topic: Newsletter error
31 January 2012, 06:34
The email function in OSCommerce is reading every single line break in the email, even in the header of the email as a double line break. The newer releases of have changed how this works, and if you compare the two files in your shop catalog/includes/classes/mime.php and catalog/includes/classes/email.php with the same files in the updated versions (search for EMAIL_LINEFEED) you'll see the difference.
Alternatively As a quick fix, a hack really, simply create your email in your editor. Then back space each line of html code until your email is in one single really long line in your editor, then cut and paste that one line into the newsletter manager in your admin.
The mailbeez addon above has solved the issue quite well, as has the 'mail manager' addon.
Alternatively As a quick fix, a hack really, simply create your email in your editor. Then back space each line of html code until your email is in one single really long line in your editor, then cut and paste that one line into the newsletter manager in your admin.
The mailbeez addon above has solved the issue quite well, as has the 'mail manager' addon.
In Topic: Order email
31 January 2012, 06:21
catalog/checkout_process.php
Search for 'tep_mail' in that file, and you'll see where the html for the order email is woven into the php.
Search for 'tep_mail' in that file, and you'll see where the html for the order email is woven into the php.
- osCommerce Support Forum
- → Viewing Profile: npn2531
- Forum Rules






Find content
