I need to email in html format to a client list. When I test this code, the client email reader gets a text rendering first & the html package is at the bottom. The html works fine, but the text looks pitiful. I'd rather the html "icon link" to show up at the top if possible. I'm using VFP 6 & outlook 2000. Any Ideas or recomendations?
This is a snippet:
scan
store a.email to m.recpt
do ol_mail
endscan
on error
***************
procedure ol_mail
Ol_Object = CreateObject("Outlook.Application"
oEmailItem = Ol_Object.CreateItem(MAILITEM)
WITH oEmailItem
.Recipients.Add(m.recpt) && uses the Recipients collection
.Subject = "This is a Very Important Test!"
.Importance = IMPORTANCENORMAL
.HTMLBody = m.body
.Send
ENDWITH
Thanks - Keith
This is a snippet:
scan
store a.email to m.recpt
do ol_mail
endscan
on error
***************
procedure ol_mail
Ol_Object = CreateObject("Outlook.Application"
oEmailItem = Ol_Object.CreateItem(MAILITEM)
WITH oEmailItem
.Recipients.Add(m.recpt) && uses the Recipients collection
.Subject = "This is a Very Important Test!"
.Importance = IMPORTANCENORMAL
.HTMLBody = m.body
.Send
ENDWITH
Thanks - Keith