On Tue, Jul 15, 2008 at 6:04 AM, Meloy <[EMAIL PROTECTED]> wrote: > But how do I add an image to the HTML-part? > > I tried to do something like this in the layout: > <?php e($html->image('logo.gif')); ?> > But it just gives me an <img src='...> but not the actual image. > > What am I doing wrong?
You're not doing anything *wrong*, per se, but the CakePHP Email component wasn't really designed to do this. You may be able to pull it off by attaching the image and referencing the ID of that image in your HTML part but I forget how to do that (it's not really covered these days and, from what I hear, is flagged as spam more often than not.) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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?hl=en -~----------~----~----~----~------~----~------~--~---