Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Accessing email in an Exchange 5.5 mailbox via VBScript? (http://www.outlookbanter.com/outlook-vba/15595-accessing-email-exchange-5-5-a.html)

[email protected] May 24th 06 02:39 AM

Accessing email in an Exchange 5.5 mailbox via VBScript?
 
Hi All,

I've been asked to develop a VBScript / Windows Scripting Host script
to log onto a specific Exchange 5.5 mailbox, iterate through the
messages in the inbox, save and rename any attachments on encountered
messages to a particular LAN drive and move processed messages to a
subfolder underneath the inbox.

This script will be running on a WinXP SP2 machine, if that's
important.

Can anyone tell me if that's possible, and give me some advice /
pointers / code examples if so?

Many thanks in advance!

Much warmth,

planetthoughtful
---
"lost in thought"
http://www.planetthoughtful.org1


Dan Mitchell May 24th 06 10:43 PM

Accessing email in an Exchange 5.5 mailbox via VBScript?
 
wrote in news:1148434775.471848.302690
@j55g2000cwa.googlegroups.com:
I've been asked to develop a VBScript / Windows Scripting Host script
to log onto a specific Exchange 5.5 mailbox, iterate through the
messages in the inbox, save and rename any attachments on encountered
messages to a particular LAN drive and move processed messages to a
subfolder underneath the inbox.

This script will be running on a WinXP SP2 machine, if that's
important.

Can anyone tell me if that's possible, and give me some advice /
pointers / code examples if so?


Yes, it should be possible. If you're talking to an Exchange 5.5 server,
you'd want to use CDO1.21; see
www.cdolive.com or _Professional CDO
Programming_ or equivalent books for more on that.

The OS doesn't matter too much, but you'll need Outlook installed on the
machine in question.

-- dan


All times are GMT +1. The time now is 07:50 AM.

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