>>>>I need an email system which will allow me to use vfp program code to specify a table containing email addresses and send the contents of an htm page to each recipient
>>>>
>>>>Tried with Chilkat - no good
>>>>
>>>>Any suggestions?
>>>
>>>If it has images in it, you would need to use MHTML format, not HTML. MHTML contains the images not just a reference to it.
>>
>>OK then what email system will run within VFP and email from a dbf containng the addresses and send the contents text (in font and colour of the htm page) as well as the images in MHTML format and do you have an example of such a thing?
>
>
>
>* utilisation cdo (contrib mike)
> v_mhtml = Sys(2015)+".mht"
> oCdo = Createobject("CDO.Message")
> oCdo.CreateMHTMLBody("http://www.atoutfox.org")
> oStream = oCdo.getstream()
> =oStream.SaveToFile(v_mhtml,1)
> oStream=null
> Ocdo=Null
>
>* expédition avec vfpwinsock
>set proc to vfpWinsock additive
> o=CREATEOBJECT("VFP_Winsock_Send_Mail")
> o.TO = "destinataire@email.com"
> o.Subject = "Expédition MHTL généré avec CDO"
> o.data_mhtml= v_mhtml
> =o.send()
> o=Null
>release procedure vfpWinsock
>
>erase (v_mhtml)
THanks
Specialist in Advertising, Marketing, especially Direct Marketing
I run courses in Business Management and Marketing