Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook: attaching files in HTML email
Message
From
20/11/2001 22:33:53
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australia
 
 
To
20/11/2001 12:24:57
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00584033
Message ID:
00584296
Views:
25
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform