>Hi.
>I am trying to embed an image (dont want the image linked to a server) in the body of an email
>I create the HTML page with the various tags but cannot get the Image to imbed
>I know I have to use img src="cid:MyFilename" but not sure if this is ALL thats required or do I need additional code to attach the image also?
>Also , do I need to point to the absolute file reference in MyFileName or is this done somewhere else ?
>
>Lots of sample using PHP out there , but has anybody had a sample of HTML code that embeds a file
>(The embedded file will either be a signature or a company logo that is appers near or at the end of the email text)
I thought you have to include base64 data for the image? Something like:
<img src="data:image/png;base64,/VHb/5RGQ0 Q0PzM....hoxtb0QGhoQ2HwRQ
AAAAAElFTkSuQmCC" />
But quite a few email clients will refuse to display it anyway :-{
>Tia
>Gerard