Hello,

On 08/16/2002 12:54 PM, Liam Gibbs wrote:
> I'm having trouble with some HTML-based mail with PHP.
> It's not the regular thing where I can't get it to use
> the tags instead of just printing them. That part's
> fine; it comes out HTML-based.
> 
> My problem is the way it's not accessing a certain
> image. I get a broken link instead of an image at the
> top of my e-mail. I had it print the URL at which it
> should find the image, and then cut and paste that in
> my browser, and the image comes up fine. But, as far
> as putting it in the e-mail, it's not working out.

Unless you put absolute URLs for the image tags, you will need to embed 
the image files in the message. That is done with multipart/related 
messages.

Here you may find a ready to use PHP component that solves that problem 
in a half-dozen lines:

http://www.phpclasses.org/mimemessage


-- 

Regards,
Manuel Lemos


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to