Guest Posted January 28, 2003 Posted January 28, 2003 I haven't been able to send HTML from the "Send Mail" function in the admin section. I am doing something wrong or has anyone modified the code to allow HTML tags to be sent? Thanks Lisa :D www.adorablecharms.com
Guest Posted January 29, 2003 Posted January 29, 2003 Lisa, Would you please post what you did or changed to make this work? Your answer might help someone else in the future.
Guest Posted January 30, 2003 Posted January 30, 2003 To allow HTML to pass through the admin section of the newsletter in version 2.2. Do the following - in the mail.php file in the admin section look for $mimemessage->add_text($message); and change it to $mimemessage->add_html($message); This allows the customers browser to decide if it will display the message in HTML or text format. *****Just remember that you WILL have to put in plain text at the TOP of the e-mail to allow non-html users to click to a web page or explain the html code below.
gdfwilliams Posted January 30, 2003 Posted January 30, 2003 Check out MojoMail (GPL) at http://www.hotscripts.com/Detailed/6663.html for an excellent mailinglist manager (includes batch sending!)
Guest Posted January 30, 2003 Posted January 30, 2003 How do you incorporate an external mailing list manager into OSCommerce? BTW, are great program that I've used is http://scripts.digitalorphans.org/listmess...enger/index.php
johnglobal Posted January 31, 2003 Posted January 31, 2003 Mark does look like a nice program, uses php and mysql too. Let us know if you manage to integrate them
wizardsandwars Posted January 31, 2003 Posted January 31, 2003 Just curious, but do either of these scripts allow you to add subscribers in batch? Obviously, you could add the email addresses directly to the subscribers table, but I waswondering if there was an easier way. ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
Guest Posted January 31, 2003 Posted January 31, 2003 I'm think that MojoMail does allow this, Import Entire Lists into the Mojo Mail system. Mojo Mail can take thousands of addresses at a time - it weeds out invalid e-mail addresses and addresses that have been entered twice - starting you out with a list that's clean of errors. http://mojo.skazat.com/features/2.2/admini...nistration.html but ListMessenger does not. In LM, if you wanted to add in a batch you'd have to add directly to the database.
johnglobal Posted January 31, 2003 Posted January 31, 2003 I seen posts about mojo crashing servers (possible on this BB)
wizardsandwars Posted January 31, 2003 Posted January 31, 2003 One more question about these two external bulk email programs. Do either of them include a customizable auto unsubscribe page? ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
Guest Posted January 31, 2003 Posted January 31, 2003 I know with LM you can unsubscribe through your email or set up a page with a form to unsubscribe. I did it on this site... http://www.togetherwetri.com/unsubscribe.php I link to this page on every email I send out - actually, this site just went live a few days ago so I haven't sent out any email yet. Note - this is not an OSC site. It's an easy to use program and has really nice management tools. I haven't thought about how I would/could integrate it with OSC though.
wizardsandwars Posted January 31, 2003 Posted January 31, 2003 So the form in turn would unsubscribe customers from the OSC customers table? The each time you want to send the newsletter, you dump the email addresses of the customers from OSC that are subscribed, and import them into LM? Is this the method you use? I assume it is only one table we're takling about in LM, correct? And it does allow you to send HTML? Also, do you have to add a link for views to be able to view the newsletter in non html? Thanks for your help. ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
wizardsandwars Posted January 31, 2003 Posted January 31, 2003 I apologize for my indecipherable message above. It would seem that my fingers are somewhat disoriented today. ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
Guest Posted January 31, 2003 Posted January 31, 2003 Actually Chris, I want to be clear that I haven't implemented this with an OSC site so I'm not the one to answer these questions. Also, I encourage you to take a look at the demo of this script at: http://scripts.digitalorphans.org/listmess...mo094/index.php home page at: http://scripts.digitalorphans.org/listmess...enger/index.php It's a great program but I haven't tried to use it with OSC. I don't even know if it would be worth the effort. However, this script does allow you to create a multi-part message that sends both HTML and text at the same time. Depending on the email client, only the relevent content will be shown. It's a really well made piece of software. And it actually uses at least five tables for holding information - but only one for email addresses. I don't know if anyone else has tried to implement this type of functionality into the OSC newsletter, but it would be a great function. I may give it a try a bit down the road.
wizardsandwars Posted January 31, 2003 Posted January 31, 2003 Well, I've contributed an Automated Unsubscribe to the OSC Newsletter. http://www.oscommerce.com/community/contri...ions,913/page,3 Check it out if you get the chance. Really, I like the OSC newsletter. There are only 2 things that it lacks as far as I can tell. 1. - I have to be able to send the newsletter in HTML. I have however, made some progress in this direction, however, I am unable to send a "2 part" message. It has to be either all html or none. 2. - I'd like to be able to set up different 'groups' of people to send the newsletter to. Such as 1 newsletter for resellers, and another for customers. ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
michellez1 Posted January 31, 2003 Posted January 31, 2003 I had actually downloaded this last night to implement, and wanted to point out an important step missing from the instructions: in /catalog/includes/application_top.php add: define('FILENAME_UNSUBSCRIBE', 'unsubscribe.php'); define('FILENAME_UNSUBSCRIBE_DONE', 'unsubscribe_done.php'); :wink: Well, I've contributed an Automated Unsubscribe to the OSC Newsletter.http://www.oscommerce.com/community/contri...ions,913/page,3 Check it out if you get the chance.
wizardsandwars Posted January 31, 2003 Posted January 31, 2003 Yup, you are absolutly correct. Thank you very much for pointing that out. I'll update it in the next release. Please let me know if yoyu have any further feedback. ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
michellez1 Posted January 31, 2003 Posted January 31, 2003 One more thing...When testing, I found a small problem. The link sent in email doesn't have a "/" between the url root and filename. To fix this, find in: File: admin/includes/modules/newsletters/newsletter.php $mimemessage->add_text($this->content . TEXT_UNSUBSCRIBE . HTTP_CATALOG_SERVER . FILENAME_UNSUBSCRIBE . "?email=" . $mail['customers_email_address']); And change to: $mimemessage->add_text($this->content . TEXT_UNSUBSCRIBE . HTTP_CATALOG_SERVER . "/" . FILENAME_UNSUBSCRIBE . "?email=" . $mail['customers_email_address']); That should about do it. Nice Job! :D Please let me know if yoyu have any further feedback.
wizardsandwars Posted January 31, 2003 Posted January 31, 2003 Ah, that's somehting else I din't think of. My variable "HTTP_CATALOG_SERVER " is defined having a / at hte end of it, so this does put the slash right. Perhaps I don't have the variable defined properly, but it seems to work right. Thats for the feedback. I hope it takes some maintenence off of your hands. :D ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
Guest Posted February 2, 2003 Posted February 2, 2003 I manage my newsletter in the following way: I have installed the subscribers contribution from P&G. When I want to send a newsletter I export the subscribers table from mysql and import it into GroupMail Plus (http://www.infacta.com/gm.asp) GroupMail then allows me to send emails in two part html/plain text and has a WYSIWYG html editor and also the ability to add personalised fields. Im very happy with this solution.
johnglobal Posted February 3, 2003 Posted February 3, 2003 I guess you could modify the list managers database name and fields to match that of Oscommerce. Or setup a script when someone opens an account, and checks "sub to newsletter" the name and email would be copied to the database that listmanager uses. Thoughts? John
wizardsandwars Posted February 3, 2003 Posted February 3, 2003 I think that this could be easily done, but I'm still not convinced that it's necessary. As I stated, the newsletter in OSC would match those two applications if it could send the html double email thing, and it could create 'goups' of people to send to based on things other than product notification. While it may be a beter short term solution to integrate an external application, work that we might d othe the core OSC newsletter might eventually make it into a OSC release. ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
mrMagoo Posted February 20, 2003 Posted February 20, 2003 Great thread this is. I'm about to start using the newsletter function but after I changed the string in mail.php I still send text mail with newsletter. Only in tn "Send mail" function the HTML is accepted. What have I missed. Thanks Fred
wizardsandwars Posted February 20, 2003 Posted February 20, 2003 Check in the Admin. There is a parameter you can chage to allow OSC to send html newsletters. We sent out our first HTML newsletter just a couple of weeks ago. A big difference. ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.