Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Microsoft Exchange programming

Posted on 1997-04-05
3
Medium Priority
?
524 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 100 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Screencast - Getting to Know the Pipeline

577 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