![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hi
scan all new incoming e-mails and post archiving email by posting to DB. i have the second part down. I will be calling a class that will handle posting record to DB, but need to know how can i get all incoming e-mails. Thanks |
#2
|
|||
|
|||
![]()
Either use Inbox.Items.Add() or use Application.NewMailEx().
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Al_21_11" wrote in message ... Hi scan all new incoming e-mails and post archiving email by posting to DB. i have the second part down. I will be calling a class that will handle posting record to DB, but need to know how can i get all incoming e-mails. Thanks |
#3
|
|||
|
|||
![]()
HI Ken,
Thanks that works. Is there a way of running this same routine when users use outlook web access? "Ken Slovak - [MVP - Outlook]" wrote: Either use Inbox.Items.Add() or use Application.NewMailEx(). -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Al_21_11" wrote in message ... Hi scan all new incoming e-mails and post archiving email by posting to DB. i have the second part down. I will be calling a class that will handle posting record to DB, but need to know how can i get all incoming e-mails. Thanks |
#4
|
|||
|
|||
![]()
No. OWA runs on an IIS server and is javascript code that directly accesses
the Exchange mailbox. It has nothing to do with Outlook or Outlook code. For something to work with OWA you would need server side code that runs as an Exchange event sink on the mailbox folders you're interested in. If you go that route you wouldn't use the Outlook code at all since that would run similar code twice. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Al_21_11" wrote in message ... HI Ken, Thanks that works. Is there a way of running this same routine when users use outlook web access? |
#5
|
|||
|
|||
![]()
HI
ken would the same routine work if outlook has several different e-mails accounts. is there a way i can specify which e-mails account to scan incoming e-mails from? thanks al "Ken Slovak - [MVP - Outlook]" wrote: No. OWA runs on an IIS server and is javascript code that directly accesses the Exchange mailbox. It has nothing to do with Outlook or Outlook code. For something to work with OWA you would need server side code that runs as an Exchange event sink on the mailbox folders you're interested in. If you go that route you wouldn't use the Outlook code at all since that would run similar code twice. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Al_21_11" wrote in message ... HI Ken, Thanks that works. Is there a way of running this same routine when users use outlook web access? |
#6
|
|||
|
|||
![]()
You can use the MailItem.SenderEmailAddress property to see what email
address sent an email and you can use To for who it was sent to. However, To usually is just a name like "Ken Slovak" and not an email address. For that you'd need to get each item's Recipients collection and get each Recipient object. There may be more than one of course. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Al_21_11" wrote in message ... HI ken would the same routine work if outlook has several different e-mails accounts. is there a way i can specify which e-mails account to scan incoming e-mails from? thanks al |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Incoming e-mails | kr | Outlook - Installation | 1 | August 2nd 08 10:48 AM |
how do I change the color on incoming e-mails | Comnight | Outlook - Using Contacts | 1 | August 13th 07 08:43 PM |
No incoming e=mails | Lofty. | Outlook Express | 6 | August 8th 07 11:12 AM |
HELP. I cannot follow links in incoming e-mails | richjenn | Outlook Express | 3 | May 17th 06 09:32 PM |
How do I highlight incoming mails where I am BCC'd? | Still Blushing | Outlook - Installation | 0 | February 1st 06 01:38 AM |