• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1790
  • Last Modified:

Delphi: Create calendar appointments in an Exchange Mailbox.

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
alanrogerson2
Asked:
alanrogerson2
  • 2
1 Solution
 
atul_parmarCommented:
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
 
alanrogerson2Author Commented:
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
 
atul_parmarCommented:
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!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now