Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > Pro Visual Basic 2005
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 13th, 2007, 10:58 AM
Registered User
 
Join Date: Mar 2007
Location: , , United Kingdom.
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.
  #2 (permalink)  
Old March 13th, 2007, 11:14 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
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
================================================== =========
  #3 (permalink)  
Old March 13th, 2007, 11:42 AM
Registered User
 
Join Date: Mar 2007
Location: , , United Kingdom.
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.

  #4 (permalink)  
Old March 13th, 2007, 11:57 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
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
================================================== =========
  #5 (permalink)  
Old April 16th, 2007, 09:31 AM
Registered User
 
Join Date: Feb 2007
Location: waregem, , Belgium.
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
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 05:49 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.