Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Embedding backgrounds in e-mail
Message
 
À
07/01/2005 17:44:51
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Divers
Thread ID:
00974768
Message ID:
00975322
Vues:
19
Hi Dragan,

The logic is actually there in WWIPSTUFF to do this. The tricky part is how to create the link reference to the image. Since the content creation is dynamic you don't know what the link is before it gets embedded into the email.

For wwIPStuff to support this it would have to use some sort of placeholder syntax that gets replaced once the image has been embedded. Hmmm... come to think of it some way to assign an Id to an image would work. I have to think about it and play around with that but it sounds possible.

+++ Rick ---


>>The other thing that can be done is to embed the content directly into a message. Outlook does this for example if you choose a background for your messages. This is done by embedding the images as multi-part content into the same message. While wwIPStuff can handle attachments (which is essentially what these embedded items are) it can't easily deal with referencing the content embedded. Actually I think it is possible to do this, but I'm not sure what the format for this is.
>
>Here's a sample of the HNY message I recently sent... if anyone can find out how to simulate this, along with proper syntax for content-id and boundary strings. As you said, it's feasible, but it seems to be quite a day's work to achieve.
>
>
Content-Type: multipart/related;
> boundary="------------020602060702070501010106"
>
>
>--------------020602060702070501010106
>Content-Type: text/html; charset=ISO-8859-2
>Content-Transfer-Encoding: 8bit
>
>
><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
><html>
><head>
>  <meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
></head>
><body alink="#000099"
> background="cid:part1.00040309.09050406@ndragan.com" bgcolor="#ffffff"
> link="#000099" text="#ffffff" vlink="#990099">
><font face="Georgia"><b><big><big>All the best wishes for the New 2005<br>
>    From Nedeljkovich family<br>
></big></big></b><br>
></font>
>
></body>
></html>
>
>--------------020602060702070501010106
>Content-Type: image/jpeg;
> name="nova2005.jpg"
>Content-Transfer-Encoding: base64
>Content-ID: <part1.00040309.09050406@ndragan.com>
>Content-Disposition: inline;
> filename="nova2005.jpg"
>
>/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAUDBAQEAwUEBAQFBQUGBwwIBwcHBw8LCwkMEQ8S
>EhEPERETFhwXExQaFRERGCEYGh0dHx8fExciJCIeJBweHx7/2wBDAQUFBQcGBw4ICA4eFBEU
>              [snipped the bulk of the base-64 encoded image]
>AelZs+jWiT2sDNLKdjIsshBdFHIUHHT60UU3siU/dfqXrLQIftUkhv8AUDJwNxlGcD8Kswaa
>IhKi3lwfJ3FCwRj+OV+br3zRRRFtXSBNnS6dpWyyiX+0tSOB3uT/AE4H0ooorKTd2aKcktz/
>2Q==
>--------------020602060702070501010106--
>
>--------------080102000403080906080702--
>
>
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform