Wrox Programmer Forums
|
Pro Visual Basic 2005 For advanced Visual Basic coders working in version 2005. Beginning-level questions will be redirected to other forums, including Beginning VB 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro Visual Basic 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 13th, 2007, 10:58 AM
Registered User
 
Join Date: Mar 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Read Exchange Mailbox

Hi all.

I have a requirement to write an app that will poll an Exchange (2003) mailbox, search for certain text, if found send an auto response. The application will be installed on the Exchange Server.

I've downloaded the Exchange SDK from Microsoft, with the samples, but there don't appear to be any working samples for VB at all, just a bunch of files that don't explain a great deal. The Help that's downloaded is just about as useful.

I'm fine with sending Email, done all that before, it's opening and reading the mail box I'm stuck with.

Can anyone help?
Cheers,
Tull.
 
Old March 13th, 2007, 11:14 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

This post may help you.

http://www.codeproject.com/csharp/gmcdoexmail.asp

(I know this is the VB Forum and that post is in C#, but it should give you an understanding of what you will need to do in VB.)

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
 
Old March 13th, 2007, 11:42 AM
Registered User
 
Join Date: Mar 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Might be a step in the right direction, where would I find the CDO resource?

Cheers,
Tull.

 
Old March 13th, 2007, 11:57 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Read this article: http://www.outlookcode.com/d/cdo.htm as it will explain CDO a little bit more. Also note from the copy that CDO is NOT offically supported in the framework although it can be done.

Also, I know that it is possible to connect to an exchange server via Sockets (TCP) and passing a username and password to the server.

Much like anything in programming, there is definately more then one way to achieve your desired end result, how you get there is up to you.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
 
Old April 16th, 2007, 09:31 AM
Registered User
 
Join Date: Feb 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

a few weeks ago i had a similar question en a could resolve it using redemption !
check this link : http://www.dimastr.com/



Vinny_68





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to read out a inbox mailbox splanky Pro VB.NET 2002/2003 7 October 18th, 2007 07:14 AM
Exchange create mailbox arjen1984 C# 0 March 16th, 2007 05:17 AM
Create/delete Exchange 5.5 Mailbox with VB.Net DennisTh VB How-To 7 August 5th, 2004 08:52 PM
Create ADSI User and Exchange Mailbox vbsdp Pro VB 6 2 May 26th, 2004 04:40 PM
How to create a mailbox in exchange 2003 using ASP nobreferreira Classic ASP Basics 0 March 22nd, 2004 01:45 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.