Antonimous Posted July 25, 2003 Share Posted July 25, 2003 Is anyone aware of a simple fix so that we can edit the newsletter the same way we can edit the product info. I use Dreamweaver to make my product descriptions and simply paste the info in the descriptions.... looks great. If I do this in the newsletter box I get the html text for my newsletter. I tried the contribution regarding WYSIWYG and it doesn't work for folks who have other modifications. I just want to create a nice newsletter. Shame on OSC for leaving that option to the rest of us to try and fix! That should be standard....what's the point! Quote Good things take time..... Great things happen all at once! Link to comment Share on other sites More sharing options...
Guest Posted July 26, 2003 Share Posted July 26, 2003 HTML WYSIWYG does work for folks with other mods installed. You should mention the specific problem you have and ask for help. Quote Link to comment Share on other sites More sharing options...
Guest Posted August 8, 2003 Share Posted August 8, 2003 If you are talking about the email you recieve when you send newsletters. edit the newsletters.php file in catalog/admin/includes/modules/newsletters/ around line 65. look for $mimemessage->send. I use $mimemessage->send($mail['customers_firstname'] . ' ' . $mail['cus tomers_lastname'], $mail['customers_email_address'], '', EMAIL_FROM, $this ->title, "MIME-Version: 1.0n" . "Content-type: text/html; charset=iso-88 59-1"); to make mine send out in HTML format. I tried everything to change the $mimemessage - new (line 62) to use the MIME-Version: 1.0 n portion of my fix, but no luck. Quote Link to comment Share on other sites More sharing options...
xtremelyfit Posted August 10, 2003 Share Posted August 10, 2003 I used your code and it helped to get rid of the html code appearing in the email, but it doesn't retain the spacing and other formatting that is there in the newsletter preview screen. Any thing else I should be doing? Quote Link to comment Share on other sites More sharing options...
Guest Posted August 10, 2003 Share Posted August 10, 2003 If you are formatting using HTML code it should work. For instance you use a <br> for a line break. A <p> with a </p> surroounding the paragraphs. But I am sure you know this. Quote Link to comment Share on other sites More sharing options...
xtremelyfit Posted August 10, 2003 Share Posted August 10, 2003 Thanks for the quick response. I have all the appropriate HTML formatting and when I send the newsletter it shows up fine in the email I open up in Outlook Express, but in the one that I open up in my free Yahoo mail account all the html tags are visible. Yahoo says that's because the sender did not properly indicate that the message should be treated as html. Do you know where in the newsletter module I would make that indication? Quote Link to comment Share on other sites More sharing options...
Guest Posted August 10, 2003 Share Posted August 10, 2003 Not sure but take a look at line 62. I think you might replace: $mimemessage = new email(array('X-Mailer: osCommerce bulk mailer')); with $mimemessage = new email(array('Content-type: text/html')); No way for me to test this, so it is just a guess. Quote Link to comment Share on other sites More sharing options...
Guest Posted August 10, 2003 Share Posted August 10, 2003 or $mimemessage->add_text($message); and change it to $mimemessage->add_html($message); this may be all you really need, taking out the other I gave you earlier. Quote Link to comment Share on other sites More sharing options...
xtremelyfit Posted August 10, 2003 Share Posted August 10, 2003 This last one did it. thanks again Quote Link to comment Share on other sites More sharing options...
Guest Posted August 10, 2003 Share Posted August 10, 2003 actually found that on another post but cannot find it now. Quote Link to comment Share on other sites More sharing options...
Guest Posted August 10, 2003 Share Posted August 10, 2003 wow, when you search for the right word you get it. here it is http://www.oscommerce.com/forums/viewtopic.php...ght=mimemessage Quote Link to comment Share on other sites More sharing options...
xtremelyfit Posted August 10, 2003 Share Posted August 10, 2003 I see you're in Kennesaw - I'm in Covington - I appreciate your help - maybe I can return the favor sometime Quote Link to comment Share on other sites More sharing options...
Guest Posted August 10, 2003 Share Posted August 10, 2003 just glad I could help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.