Goanna Posted April 5, 2004 Posted April 5, 2004 Whenever I try and send out a newsletter using HTML, or an email, it never shows up correctly. I design them in Dreamweaver and copy all the HTML to the email or newsletter box in osCommerce, and it just never works right. With the email, it sends it as plain text sometimes, or it translates the html but does so incorrectly, which makes it look erroneous when someone opens it. The newsletters do support HTML but never look the way I want them to. When I click on the preview buttons, they are always messed up. It wont display a black background and white text, it will not keep sections together, all the tables get spaced far apart, etc. Just doesnt show up anything like it should. Does anyone else have this problem? What can I do about it? Any help will be apreciated.
talon177 Posted April 5, 2004 Posted April 5, 2004 Same Problems, would also be nice if guest could subscribe and unsubscribe to the newsletter as well.
Guest Posted April 5, 2004 Posted April 5, 2004 Instead of copying all of the HTML try copying only the HTML between the <BODY></BODY> tags. If that doesn't work, post a sample of the problem HTML of the newsletter here. Bob Whenever I try and send out a newsletter using HTML, or an email, it never shows up correctly. I design them in Dreamweaver and copy all the HTML to the email or newsletter box in osCommerce, and it just never works right. With the email, it sends it as plain text sometimes, or it translates the html but does so incorrectly, which makes it look erroneous when someone opens it. The newsletters do support HTML but never look the way I want them to. When I click on the preview buttons, they are always messed up. It wont display a black background and white text, it will not keep sections together, all the tables get spaced far apart, etc. Just doesnt show up anything like it should. Does anyone else have this problem? What can I do about it? Any help will be apreciated.
Guest Posted April 6, 2004 Posted April 6, 2004 On further review it looks like the native newsletter won't support HTML mail. Maybe this is what you need: MS2 HTML WYSIWYG Editor, Product Desc, Email + Bob
ckyshop.co.uk Posted October 23, 2004 Posted October 23, 2004 Did you ever get this sorted? I am getting the same big spacing between tables... Thanks for any help/comments. Regards, Lewis Hill
ckyshop.co.uk Posted October 23, 2004 Posted October 23, 2004 I spoke too soon! Just been searching (a little harder than the 1st time) and I found a solution. View post, http://www.oscommerce.com/forums/index.php?showtopic=88746&hl=, about 3/4 of the way down. I quote your problem is being caused by the fact that osC translates line breaks into actual breaks in the text (with the nl2br function). to solve this, and to reduce the size of the emails you send out, get rid of spaces and line breaks. In this regard, the formatting of the code is not relevant. write it as you normally would, so you could follow your tables, fonts and what-nots, but before you copy-paste it, make all the code into one long line. This will solve your problem, and reduce the size of the mail - when you send it out to 1000 customers, every byte counts to your mail server! This has solved it for me! Thanks for any help/comments. Regards, Lewis Hill
Recommended Posts
Archived
This topic is now archived and is closed to further replies.