Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Embedded image
Message
De
21/11/2018 11:58:03
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01663614
Message ID:
01663627
Vues:
55
>Hi
>I am sending out html email using foxpro. All working fine
>Now I want to embed(Rather than linked) an image into one of the columns on the html email page
>Seems to be 2 ways
>CId Content Id where you also attach the image
>Base64
>
>I am unsure as to the exact code mechanism of either
>Does anybody have any examples, and maybe ideas on which method is more resilient
>Tia
>Gerard

If you are using HTML then base64 is an easy option. ie:
text to body texmerge noshow
<p>My image here</p>
<img src="data:image/png;base64, << Strconv(FileToStr(m.lcMyPNGFile),13)  >>" />
endtext
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform