Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Scanning all incoming e-mails

Geek News

Scanning all incoming e-mails
Al_21_11 12/30/2008 5:33:02 PM
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

Re: Scanning all incoming e-mails
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 12/30/2008 5:43:17 PM
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" <Al2111[ at ]discussions.microsoft.com> wrote in message
news:C77ED8AB-1E7E-4BAD-93BA-773891935643[ at ]microsoft.com...
[Quoted Text]
> 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
>

Re: Scanning all incoming e-mails
Al_21_11 12/30/2008 8:44:49 PM
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:

[Quoted Text]
> 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" <Al2111[ at ]discussions.microsoft.com> wrote in message
> news:C77ED8AB-1E7E-4BAD-93BA-773891935643[ at ]microsoft.com...
> > 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
> >
>
>
Re: Scanning all incoming e-mails
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 12/31/2008 2:15:06 PM
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" <Al2111[ at ]discussions.microsoft.com> wrote in message
news:4959574C-D3DB-4984-A444-4227355C146C[ at ]microsoft.com...
[Quoted Text]
> HI Ken,
> Thanks that works. Is there a way of running this same routine when users
> use outlook web access?

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net