Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Embed an Image into Body HTML
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01587392
Message ID:
01587397
Vues:
57
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform