Solved

Delphi: Create calendar appointments in an Exchange Mailbox.

Posted on 2008-10-13
4
1,690 Views
Last Modified: 2013-11-23
I have a program written in Delphi and would like it to create calendar appointments programmtically in a mailbox that is on an exhange server on the same LAN as the machine running the client program.  Is this possible?
0
Comment
Question by:alanrogerson2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 10

Expert Comment

by:atul_parmar
ID: 22773827
Hi,

1. You can use outlook OLE interface. See
http://www.delphi3000.com/articles/article_2776.asp?SK=
http://support.microsoft.com/kb/170262

2. You can use Exchange Web Services. See http://msdn.microsoft.com/en-us/library/aa563060(EXCHG.80).aspx The code

Atul
0
 

Author Comment

by:alanrogerson2
ID: 22774646
The system will need to be able to update mailboxes on a server and there won't be any clients/Outlooks running so I think Exchange Web Services would be best.  

I have looked at the links.  It doesn't seem to describe how you setup an application to use EWS.  Do you know of any tutorials?  Or do you have any sample code?

Thanks so much.
0
 
LVL 10

Accepted Solution

by:
atul_parmar earned 500 total points
ID: 22775304
EWS is really a better option. First you will have to enable EWS for your exchange server (I guess there should be some settings, I don't have the server so can't tell you what exactly needs to be done). Perhaps the following link will help you on how to setup EWS. http://msdn.microsoft.com/en-us/library/bb204119(EXCHG.80).aspx

Once it is setup, you can consume the services using your client. See http://www.devarticles.com/c/a/Delphi-Kylix/Web-Services-Made-Easy-With-Delphi/

If required, I can provide further information on consuming web services.

Atul.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question