Soporte Posted May 14, 2005 Posted May 14, 2005 Hi all. I'm trying to use the newsletter system for send notifications to my clients. My problem it's that i write html code composed by 3 tables with images and text. When i go to he preview option for see the result, i get a lot of spaces between the tables (the code it's perfect in dream weaver for example). I have installed a WYSIWYG editor and in the visual mode the code goes perfect, the tables don't have this spaces but when i accept and push in preview option i see another time the problem os the space between tables. And if i send the newsletter the mail received has the spaces between tables. Any body knows how can i solve this problem ?
stevel Posted May 14, 2005 Posted May 14, 2005 I don't know what your contribution does, but the standard code for sending HTML e-mails in osC has some issues, one of which is that it inserts a <br> after every "line" of the source. Try this, In includes/classes/email/php, around line 159, change: $this->html = tep_convert_linefeeds(array("\r\n", "\n", "\r"), '<br>', $html); to: $this->html = $html; You'll want to make this change for both catalog and admin. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
Soporte Posted May 16, 2005 Author Posted May 16, 2005 Thanks, now i send the mails in perfect order. Best Regards!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.