On 6/30/06, Attila <[EMAIL PROTECTED]> wrote: > > So you guys are just sending out either html only email (wiki example) > or text only emails (matt's example). > > How about mime multipart alternative? The same email in a text version > and in a html version, so that everybody can see it? > > I'm porting a nice website to cakephp, and I would like to port this > part as much as possible to be the cakephp way. I have written the old > version - before cakphp, but working fine - and I just try to get it > into cakephp.
I started working on this the other day (then got side tracked!), I was going to put the BOUNDARY stuff in the Email component, and simply use strip_tags on the html email to get the plain text version. It would mean having fully qualified urls for links, but that's no real biggy. alternatively you could have a plain version of each template that can be rendered hth jb -- jon bennett t: +44 (0) 1225 341 039 w: http://www.jben.net/ iChat (AIM): jbendotnet Skype: jon-bennett --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---
