Paul Godard wrote:
> 
> Hi,
> 
> I am finalizing a new web site that needs to be live this week-end
> and I still have a problem to receive HTML email send from a web page
> using implode in php.  Help to fix the problem will be VERY much
> appreciated...
> 
> Please reply directly to [EMAIL PROTECTED] ... thanks
> 
> Here is the php script I use ... very simple
> 
> $mailbody = implode("",file("$Page"));
> $mailheaders = "From: ".$FullName." <".$from.">\nMime-Version:
> 1.0\nContent-type: text/html\nContent-Transfer-Encoding: 7bit\n";
> mail($to, $subject1, $mailbody, $mailheaders);
> 
> At the bottom of the page
> http://www.gondwanastudio.com/Expedition/AvantPremiere.html, there is
> a small form to send a resume of the page to an email address.
> 
> The http://www.gondwanastudio.com/Expedition/Episodes/Page_001.html
> which is imploded and sent is received ok but the link to the
> pictures are dead...
> 
> Why and how to fix it?
> 
> My optimal wish is to receive the email with embeded pictures, not
> lived links to the website pictures.  How can I modify the code of
> the page to work?
> 
> If this is too difficult, is it possible to have AT LEAST the live links?
> 
> Thanks in advance...
> --
> 
> Kind regards, Paul.
> 
> Gondwana
> [EMAIL PROTECTED]
> http://www.gondwanastudio.com
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


You use relative links to your images. It's not so weird that
someone who receives the page will not get the images with it. If
you want the images to be seen by the rcpt, you should use absolute
links to them. Usualy you wouldn't want to do that, I agree, but
when sending pages all over the world, there's pretty much no other
way. So e.g. the first image will be:

<IMG
src="http://www.gondwanastudio.com/Expedition/Episodes/xMedia/Logo/MiniLogo_BushWeb.gif"
width=" ... etc.

That way, the rcpts will be able to see the images.
-- 

* R&zE:

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to