Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Programming Outlook from MS Access (Inbox) (http://www.outlookbanter.com/outlook-vba/98027-programming-outlook-ms-access-inbox.html)

Stanley December 15th 09 07:00 PM

Programming Outlook from MS Access (Inbox)
 
I have written code in MSAccess to send e-mails with no trouble (can program
receipients, ccs, attachments, etc.)
What I would like to do is:
Examine incoming e-mails and match them against e-mails of the person that
sent them.
When some one sends an e-mail I can store the sender. time and the
receipient, but I don't know how to examine incoming e-mails.
(The e-mail should come back to the person who originally sent it so that
may not be any part of this problem. I would like to match a receiived
e-mail, but I have no idea how to examine what is in the inbox ).
Thanks,
Stanley


JP[_3_] December 15th 09 08:37 PM

Programming Outlook from MS Access (Inbox)
 
Although I'm not clear on what you're trying to do, the best way to
monitor incoming emails is with event handlers in Outlook, not Access.

You could try a class module (in Access) with an early-bound reference
to Outlook, and see if you can use the WithEvents keyword to hook into
the Outlook.Application object.

HTH,
JP

On Dec 15, 2:00*pm, Stanley wrote:
I have written code in MSAccess to send e-mails with no trouble (can program
receipients, ccs, attachments, etc.)
What I would like to do is:
Examine incoming e-mails and match them against e-mails of the person that
sent them.
When some one sends an e-mail I can store the sender. time and the
receipient, but I don't know how to examine incoming e-mails.
(The e-mail should come back to the person who originally sent it so that
may not be any part of this problem. I would like to match a receiived
e-mail, but I have no idea how to examine what is in the inbox ).
Thanks,
Stanley



All times are GMT +1. The time now is 03:36 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com