> But it just gives me an <img src='...> but not the actual image.

That HTML image element is a reference to the image; browsers and HTML-
enabled email readers will display it correctly. When you say "not the
actual image", do you mean:

(1) the image doesn't display correctlty in the email you sent?
(2) the HTML code itself shows up in the email display instead of the
image?

For (1): Check that the image path is correct ('logo.gif' should be in
your /app/webroot/img/ directory). Also, some email programs don't
show images by default, so it might look broken.

For (2): Ensure that the email program you are using to read the sent
email supports images and HTML formatting. If you are trying to read
an HTML email in plain text, you will undoubtedly see some HTML code.

If you want to send the email with both plain text (no images) and
HTML (images, layout, etc), take a look at the built-in Email
component in CakePHP: http://book.cakephp.org/view/176/email.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to