Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook Automation Redemption
Message
De
25/04/2005 15:29:35
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Outlook Automation Redemption
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01008202
Message ID:
01008202
Vues:
61
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform