Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook Automation - Can't set mail.SendUsingAccount
Message
From
06/02/2017 04:11:30
Thomas Ganss (Online)
Main Trend
Frankfurt, Germany
 
 
To
05/02/2017 21:34:47
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01647559
Message ID:
01647571
Views:
143
>I'm copying the code below from an old Blog, but it describes the issue exactly. Setting loItem.SendUsingAccount was working fine until recently. Most likely a recent update to Outlook 365 or 2016 seems to have broke it. Is anyone else able to set loItem.SendUsingAccount property successfully, as in the following example? Or does anyone have a solution to make it work? TIA!

AFAIR you need local installs for COM interfaces to work.

>So, the question is: How to create mail item having the SendUsingAccount
>property R/W using automation in VFP?
>
>Similar code works fine in VB.NET, so it seems to be purely VFP - Outlook
>interoperability problem.

If my memory from above is correct, .Net working on the same machine as vfp failing points to local install with some problem on the vfp code side...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform