Greetings,
I'm sending a VFP9 report as HTML in Email OK (code below)
But if I try to FW: the email elsewhere, my FW message text is
displayed Underneath the original html report.
Can these two live together w/o conflict?
Also if I don't "preset" the .Body with some text,
I can never see the HTML report in my SENT ITEMS box
where the Body of the email is supposed to be - it's blank!?
The Email goes to my INBOX w/report fine though.
But it takes a while to arrive.(1-2mins)
oOutlook = CREATEOBJECT("outlook.application")
oSafeItem = CREATEOBJECT("redemption.safeMailItem")
oNameSpace = oOutlook.GetNameSpace( "MAPI" )
oMailS = oOutlook.CreateItem( 0 )
oSafeItem.item = oMailS
oSafeItem.subject = "Subject Matters Too"
oSafeItem.Body = ;
"this Body gets overwritten by HtmlBody- also w/o this, you never see HTML in SENT ITEMS box"
oSafeItem.HtmlBody = FILETOSTR("g:\code\con2000\data\report1.htm")
oSafeItem.Recipients.Add("
yourself@.com")
oSafeItem.send