We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

Microsoft Exchange programming

galbetser
galbetser asked
on
Medium Priority
554 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!
Comment
Watch Question

Commented:
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

Author

Commented:
Thenk you,
What about using "COM" and objext extension etc.


Gal
Tech Director
CERTIFIED EXPERT
Commented:
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.

















Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.