?
Solved

Delphi: Create calendar appointments in an Exchange Mailbox.

Posted on 2008-10-13
4
Medium Priority
?
1,725 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 2000 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

Industry Leaders: 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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses
Course of the Month11 days, 18 hours left to enroll

752 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