Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 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 28th, 2007, 06:59 AM
Registered User
 
Join Date: Feb 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Accessing Microsoft Exchage Server

Hi,

I am a beginner to C# .NET programming. Here is a small question.

I wish to write an email application in C# .NET. My application shall communicate with an exchange server (2003) running on a server in our domain. I need to send/receive mails.. access calendar.. notify any events.. (a substitute to Outlook but not as complicated as Outlook.. a simple one.)

I am not sure how to proceed. Please suggest.

I have gone through MAPI.. but not quite satisfied.. rather.. not quite sure that I can use in this..

I have heard of WebDAV... but didn't try it.

Please suggest how shall I proceed.

Thanks a lot.

-
Gopi.
 
Old March 28th, 2007, 07:17 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

With all due respect this is not a project for a beginner in C#. However simplified you think this will be compared to Outlook it is still a huge task. Remember that the Microsoft Outlook team comprises dozens of participants. A simple client that sends and receives emails using a basic user interface is more reasonable.

--

Joe (Microsoft MVP - XML)
 
Old March 28th, 2007, 07:30 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 really isnt a small question for a beginner and I see that you are looking for a system less complicated then outlook, have you investigated the Outlook web client? This is essentially Outlook express through a webpage and it is not that difficult to use and very straight forward.

In so far as WebDAV, it is NOT the easiest thing to learn and you can read up a bit about it here:
http://www.msexchange.org/articles/A...ox-WebDAV.html

================================================== =========
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 28th, 2007, 07:58 AM
Registered User
 
Join Date: Feb 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks a lot for your suggestion.

I didn't know that it is extremely difficult.

Still... I dont want to leave it without even giving a try.

Is it reasonable to start with an application that would just send/receive emails?

Just to make clear, I am not a novice.. I have made some decent apps ..

@joefawcett

Shall I go ahead and use MAPI? please suggest.

Thanks,
Gopi.

 
Old March 28th, 2007, 08:08 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

I never said that WebDAV was extremely difficult to learn just that it is not the EASIEST thing to learn.

I think what Joe is saying is that if you are taking the position that you are going to write your own application to handle emails back and forth from an Exchange server, you need to understand that the team that maintains Outlook has many members so writing a full featured Mail client is a large task for one person. However, an application that has the ability to send and recieve email would be a much simpler app for a single person to create and maintain.

================================================== =========
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 28th, 2007, 08:40 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Well I would use SMTP for sending, Exchange doesn't use POP3 by default but can be set up to use it. This would probably be easier than MAPI. You could also start looking at System.Net.MailMessage and there are third-party components that you can use to provide the email functionality. Then you can concentrate on the UI.

--

Joe (Microsoft MVP - XML)
 
Old March 28th, 2007, 08:40 AM
Registered User
 
Join Date: Feb 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks.

WebDAV seems more of a Web-based solution...

What do you think about MAPI?

or any such for a Client-Server application...

Thanks,
Gopi.



 
Old March 28th, 2007, 08:43 AM
Registered User
 
Join Date: Feb 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

er... I got the answer while I was sending the question..

Thanks for your time..

I would try the both..

Gopi.

 
Old January 28th, 2011, 01:01 PM
Registered User
 
Join Date: Jan 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

WebDAV is not easy. I have decided to use WebDAV .NET for Exchange API. It comes with many examples http://www.independentsoft.de/webdav...ial/index.html

/Julia





Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing Microsoft Outlook Address Book ah_teck81 Classic ASP Professional 8 March 1st, 2013 05:28 PM
Accessing server variables badgolfer Classic ASP Professional 2 October 23rd, 2007 03:11 AM
Accessing File in the server biswarup_21 Servlets 1 December 23rd, 2005 11:27 AM
Accessing the Server Database dcarroll Classic ASP Basics 2 October 13th, 2005 08:29 AM
Accessing the server Database dcarroll ASP.NET 2.0 Basics 1 October 10th, 2005 04:15 PM





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