>How can I add emmbedded images in Outlook HTML e-Mails, the following code works fine, I just need the image attachment commands!
>
>oOutlook = CREATEOBJECT ( "Outlook.Application" )
>oMessage=oOutlook.CreateItem(0)
>oMail.recipients.Add('jorgeflores@humsoftware.com')
>oMail.Subject='Test Message with Images'
>oMail.HTMLBody=filetostr('C:\MyFileWithImageReferences.htm')
>*---
>*Needed code Here!
>*---
>oMail.Send
Jorge,
try something like
cAutoAttach= Sys(2023)+"\ttool.bmp"
With MailItem
.Attachments.Add (cAutoAttach)
Edgar
Edgar L. Bolton, B.S. B.B.A.