Can't comment on the best approach, but I would definitely like to be able to send multipart email, so this thread is of interest.
Regards, Langdon Attila 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. > > The wiki example has a layout template like this: > > ----- BEGIN ---- > <html> > <?php echo $content_for_layout; ?> > </html> > ---- END ---- > > while here a template like this is more appropriate. > > ----- BEGIN ---- > This is an Email in the modern MIME format. If you are reading this > text, your email reader does not understand how to properly display > MIME multipart messages. You might want to consider upgrading your > email reader. > > --{{boundary}} > Content-Type: text/plain; charset=utf-8 > Content-Disposition: inline > Content-Transfer-Encoding: 8bit > > {{textbody}} > > --{{boundary}} > Content-Type: text/html; charset="utf-8" > Content-Disposition: inline > Content-Transfer-Encoding: 8bit > > {{htmlbody}} > > --{{boundary}}-- > ---- END ---- > > Anybody has a comment about how best to do it the cake way > > > > -- Linden Row Pty Ltd NSW : +61 2 8215 0570 Victoria : +61 3 9013 9423 Fax : +61 2 8215 0571 Mobile : +61 416 118 037 http://www.lindenrow.com.au --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---