Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Embed images in emails
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01237212
Message ID:
01237240
Views:
18
Send a whole webpage with CDO
MSG = createobject("CDO.Message")
oMSG.To = "me@nowhere.com"
oMSG.From = "me@nowhere.com"
oMSG.Subject = "Hello Email"
oMSG.CreateMHTMLBody("http://www.microsoft.com";)
oMSG.Send()
>Hi,
>
>I've been using CDOSys to send emails for some years, and now I'd like to add several images in the HTML code, but I'm having some troubles.
>
>I know I can publish the pictures on my web site and then just use an absolute link to them in the html code, like this, i.e., img src="http://mydomain.com/images/image.gif"
>
>But obviously this is not the best way to do, since for this case some pictures will be specific to each receiver.
>
>Can someone tell me how can I embed the image in the email body ? Preferrably, using CDOSYS.
>
>Thanks in advance
>
>Cesar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform