JJENSEN3
asked on
How to read mail on a shared mailbox using VB
How do you programmatically read emails in the inbox of a shared mailbox using Visual Basic?
Using the EWS API would be a solution, IF you used VB.net.
For VB6, it would mean you have to program all the things already in the EWS API by yourself (reinventing the wheel, and a complicated one at that).
For VB6, it would mean you have to program all the things already in the EWS API by yourself (reinventing the wheel, and a complicated one at that).
If it were me (and it was, about a year ago), I'd use a PowerShell script instead. Access to the EMail client is quite easy from this environment. I essentially built a PS script that checks the shared Email queues and writes the unread message counts (and subject lines) to a web page that refreshes itself every 5 minutes. I can then bring this up on a shared monitor so that everyone can see what's in the queue from anywhere in the room.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Usually when you pose a question as you did, most replies will involve stand alone solutions, INDEPENDENT of Outlook (think of licensing!) and user environment (meaning quick deployment even to servers etc, ex. using it as a commandline to issue alerts based on number of unread messages).
Your app depends on the bloated Outlook footprint, along with the USER's configuration, leaving it hard to debug (if there's a user problem) and prone to Outlook processes stuck in the background.
Your app depends on the bloated Outlook footprint, along with the USER's configuration, leaving it hard to debug (if there's a user problem) and prone to Outlook processes stuck in the background.
ASKER