pafranklin Posted November 4, 2005 Posted November 4, 2005 Hi everyone, I have been struggling with this for some time. All of my previous attempts at sending HTML Newsletters failed as the recipient just received the html code and not the images. With great thanks to monika who has provided so much help (as I have only been working with php and OSC for three weeks) and has helped me to understand the workings of OSC. So here are my settings in the "EMAIL OPTIONS" part of the admin section. E-Mail Transport Method sendmail E-Mail Linefeeds LF Use MIME HTML When Sending Emails true Verify E-Mail Addresses Through DNS false Send E-Mails true Then I amended the catalog/admin/includes/modules/newsletter.php and simply changed $mimemessage->add_text($this->content); to $mimemessage->add_html($this->content); I hope that this helps someone and for the more experienced user perhaps someone could test it out and let me know if they can see any problems. :rolleyes: You will never learn if you don't try. And boy am I trying....!
Guest Posted November 4, 2005 Posted November 4, 2005 Big thumbs up :thumbsup: this worked just fine for me.
nick12345 Posted November 10, 2005 Posted November 10, 2005 :thumbsup: Big thumbs up from me too. This has been bugging me for ages and this seems to have sorted it out for me. Thanks alot. :)
Mediajuggle Posted November 10, 2005 Posted November 10, 2005 okay, so what will an HTML email look like for those who are getting emails through a web based interfaced and can only accept mime? My Contribution Music Download Store Template http://www.oscommerce.com/community/contributions,4275
basnyd Posted February 5, 2006 Posted February 5, 2006 Worked great! I don't have any of the WYSIWYG editors installed, but this allows me to type simple straight html code in the newslettter and have it render correctly on the recipients end. Barb
boxmodz Posted February 12, 2006 Posted February 12, 2006 I can get it to work either way :( if i set "send emails as html" it sends them but they never are received at the other end? If i set it to non html they are received but are just html code!! :(
basnyd Posted February 13, 2006 Posted February 13, 2006 Did you modify the atalog/admin/includes/modules/newsletter.php file? Have you fillled in the email address and email from under "My Store" in the admin panel? I had some trouble, but once I enter actual email addreses everything worked ok. Barb
kingchaos Posted March 12, 2006 Posted March 12, 2006 Changing $mimemessage->add_text($this->content); to $mimemessage->add_html($this->content); worked fine for me to. But I have another problem. All the attached images have the url e.g: /images/logo.gif instead of the complete url: http://www.mydomain.com/images/logo.gif Anyone knows how to change this? King
theheat. DPX Posted March 22, 2006 Posted March 22, 2006 I have a problem similar to another post...it creates a large white space at the top of the page? Any help on this?
theheat. DPX Posted March 22, 2006 Posted March 22, 2006 I changed my line from add_text to add_html. Using the e-mail option it arrives at the receipent in text html. Using the Newsletter it sends nothing, no text, no images, no frames. Appreciate any help!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.