Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook: attaching files in HTML email
Message
De
20/11/2001 22:33:53
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australie
 
 
À
20/11/2001 12:24:57
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00584033
Message ID:
00584296
Vues:
26
Hi Carlos,

Have a look at http://support.microsoft.com/support/kb/articles/Q270/9/22.ASP

Instead of attaching an image you could set the SRC to point to an image on a Web Server
< input type='image' src='http://www.myserver.com/myapplication/images/image1.gif' >
Hope this helps,
Gavin...

>Hi, Folks:
>
>I've done a little program to send emails by using Outlook model object. The program has to build an message with a HTML body, which shows an small image.
>
>This program works fine, but the message delivered shows the HTML document correctly, BUT.... it also shows an attachment file. Then, when trying to close the message, I get this warning 'The message was modified. Do you want to save it?' So, if you answer Yes, next time you open the message, the file attachment disappears and the HTML remains perfect. (that's the goal!)
>
>Does anyone know something about this? Perhaps configuring Type property in the Attachment object... I've tried with this without any success.
>
>This is the code:
>
>* After configuring general message properties....
>* Image Tag was set with an space to avoid this site formatting loMessage.HTMLBody = 'HTML...< IMAGE SRC=sample.gif>...End HTML>'
>
>loMessage.Attachments.Add( 'c:\images\sample.gif' )
>loMessage.Send()
>
>Thanks.....
>
>Carlos A. Granitto
>da Vinci - innovación tecnológica
>Buenos Aires, Argentina
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform