Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Delphi: Create calendar appointments in an Exchange Mailbox.

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your 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 new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses

636 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