Solved

Microsoft Exchange programming

Posted on 1997-04-05
3
489 Views
Last Modified: 2012-06-27
I want to make changes in my Microsoft Exchange Client.
Someone told me that I can do it with Delphi, but I don't know How.
I need the Starting point.

Thank you all!
0
Comment
Question by:galbetser
3 Comments
 

Expert Comment

by:slash
ID: 1335201
what means changes ...

I use to develop some forms and app within Outlook environment.
If you want to make some interesting stuff with your client you have to use Outlook.

See ya for more informations.

BTW. The question deserves more points ... ;)

Slash
0
 

Author Comment

by:galbetser
ID: 1335202
Thenk you,
What about using "COM" and objext extension etc.


Gal
0
 
LVL 7

Accepted Solution

by:
RBertora earned 50 total points
ID: 1335203
Hi there,

Yes it is possible to do what you want through delphi.

What you want to do is:

Start delphi, new app.

uses OleAuto;
var
  SessionObj : Variant;  { decalare all ole types as variant }


Button1click: SessionOBj := CreateOleObject('Mapi.Session');
SessionObj.Logon('MS exchange settings','MyUserName'); {RBertora}
showmessage('logged onto exchange');
MessObj := SessionObj.Outbox.Messages.Add;
end;

//then sending messages:
MessObj.Subject := 'hello'
Messobj.Text := MyMemo.Text;

// set up receiver
RecObj := MessObj.Recipients.Add;
RecObj.Type :=1
RecObj.Name := RecString;
RecObj.Resolve;

// send message
messObj.Update;
messObj.Send(True);



Well that is a start.... You can find this info in the
exchange technical help.. Although it does not have delphi specifics you can work it out.

Cheers,
Rob.

















0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now