> but the CakePHP Email component wasn't really designed to do this.
@Jonathan Snook
Sending images in HTML email with the Email component works just fine;
you don't need to send it as an attachment. And yes, if you have a
very large amount of images, it might get marked as spam by the
recipient email client (but that's a differerent topic for a different
day).
@Meloy
Make sure that the image path is not relative, but instead pointing to
a live production image.
Example of the image reference in the email view file:
<?php e($html->image('http://live-site.com/logo.gif')); ?>
Note the "http://live-site.com/" addition so that CakePHP doesn't use
the relative path.
I tested this just now with with CakePHP 1.2.x.x revision 7333 and it
works as expected in HTML-aware email clients (Gmail, Mail,
Thunderbird).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---