Solved

Delphi: Create calendar appointments in an Exchange Mailbox.

Posted on 2008-10-13
4
1,627 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
  • 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

770 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