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
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---