Hello,

So this is the problem.

I have a DHTML control which uses the following line to insert an image:

Code:
DHTMLEdit1.ExecCommand DECMD_IMAGE
Now , i have created an email client and i want to embed that image in the mail. To do so i have to use the following code:

Code:
Set objBP = objMessage.AddRelatedBodyPart("C:\image.bmp", "myimage", cdoRefTypeLocation)
        objMessage.HTMLBody = "<html><img src=""cid:myimage""></html>"
The question is, how do i modify the DHTML control image insert code so i can add that html part at the pointer location ?


Please help !!!!