Autor Beitrag
killavirus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 49

Win 2000
D5 Prof, D7 Prof
BeitragVerfasst: Do 19.01.06 12:04 
Hallo,

Ich will auf eine existierendes MailItem von Outlook zugreifen. Der Zugriff über die Outlookordner und dann auf die einzelnen Items ist kein Problem aber wie komme ich an ein Item ran das der Benutzer gerade erstellt hat und nun zu Bearbeitung vor sich hat?

Gruß Maik


Moderiert von user profile iconraziel: Topic aus VCL (Visual Component Library) verschoben am Do 19.01.2006 um 14:41

_________________
I need a girl whose name doesn't end in .JPG
killavirus Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 49

Win 2000
D5 Prof, D7 Prof
BeitragVerfasst: Fr 20.01.06 11:32 
Hallo,

Ich habe die Lösung selbst gefunden auf meiner lieblings Seite msdn.com ;)
Und nun poste ich mal die Lösung für euch andere ...


ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
Outlook := GetActiveOleObject('Outlook.Application');

MailItem := Outlook.ActiveInspector.CurrentItem;

ShowMessage(MailItem.subject);


Gruß Maik

_________________
I need a girl whose name doesn't end in .JPG