dgreenyc Posted September 25, 2005 Posted September 25, 2005 I'm trying to add a simple text box on the homepage that will allow a visitor to add their email address to the newsletter list without having to create a full account. Is this possible? Also - is it possible to send HTML emails with the Newsletter function? Thanks for any advice.
CgFreak Posted February 5, 2007 Posted February 5, 2007 im trying to do the same thing, adding a newsletter box but so far no luck. i found here in the forums how to send htmls newsletters in admin/includes/modules/newsletters/newsletter.php find $mimemessage = new email(array('X-Mailer: osCommerce bulk mailer')); $mimemessage->add_text($this->content); $mimemessage->build_message(); while ($mail = tep_db_fetch_array($mail_query)) { $mimemessage->send($mail['customers_firstname'] . ' ' . $mail['customers_lastname'], $mail['customers_email_address'], '', EMAIL_FROM, $this->title); } and replace with CODE $mimemessage = new email(array('X-Mailer: osCommerce bulk mailer')); while ($mail = tep_db_fetch_array($mail_query)) { $mimemessage->add_html(HEADER_NEWSLETTER . $this->content . FOOTER_NEWSLETTER); $mimemessage->build_message(); $mimemessage->send($mail['customers_firstname'] . ' ' . $mail['customers_lastname'], $mail['customers_email_address'], '', EMAIL_FROM, $this->title); }
insomniac2 Posted February 11, 2007 Posted February 11, 2007 Yes it is called Newsletter/Maillist V.4.0 Link: http://www.oscommerce.com/community/contri...search,Maillist
Recommended Posts
Archived
This topic is now archived and is closed to further replies.