Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Microsoft Exchange programming

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

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

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

721 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