Antonimous 0 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! Good things take time..... Great things happen all at once! Share this post Link to post Share on other sites
Guest 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. Share this post Link to post Share on other sites
Guest 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. Share this post Link to post Share on other sites
xtremelyfit 0 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? Share this post Link to post Share on other sites
Guest 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. Share this post Link to post Share on other sites
xtremelyfit 0 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? Share this post Link to post Share on other sites
Guest 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. Share this post Link to post Share on other sites
Guest 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. Share this post Link to post Share on other sites
xtremelyfit 0 Posted August 10, 2003 This last one did it. thanks again Share this post Link to post Share on other sites
Guest Posted August 10, 2003 actually found that on another post but cannot find it now. Share this post Link to post Share on other sites
Guest Posted August 10, 2003 wow, when you search for the right word you get it. here it is http://forums.oscommerce.com/viewtopic.php...ght=mimemessage Share this post Link to post Share on other sites
xtremelyfit 0 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 Share this post Link to post Share on other sites
Guest Posted August 10, 2003 just glad I could help. Share this post Link to post Share on other sites