Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Delphi und Outlook (https://www.delphipraxis.net/8577-delphi-und-outlook.html)

1PM 8. Sep 2003 12:51


Delphi und Outlook
 
Hallo!

Ich suche einen Quelltext wie man ein E-Mail Fenster von Outlook (nicht O. Express) öffnen kann und E-Mail Adressen an BCC und To übergeben kann! Leider funktioniert es mit Shellexecute nicht!

Vielen Dank im voraus!

Gruß
1PM

1PM 8. Sep 2003 15:49

Re: Delphi und Outlook
 
*hm* :freak:

Sharky 8. Sep 2003 16:04

Re: Delphi und Outlook
 
Zitat:

Zitat von 1PM
....Leider funktioniert es mit Shellexecute nicht!

Hai,

was funktioniert denn nicht?

Marco Haffner 8. Sep 2003 19:55

Re: Delphi und Outlook
 
Zitat:

Zitat von 1PM
Leider funktioniert es mit Shellexecute nicht!

Delphi-Quellcode:
ShellExecute(0, nil, 'mailto:?bcc=test1@mail.de;test2@mail.de&Subject=Betreff&body=Hallo%20!!', nil, nil, SW_SHOW);

1PM 10. Sep 2003 16:48

Re: Delphi und Outlook
 
Es öffnet Outlook nicht, obwohl es als Standartclient definiert ist.

Christian Seehase 10. Sep 2003 17:02

Re: Delphi und Outlook
 
Moin 1PM,

schau doch mal nach, was in der Registry unter

HKEY_CLASSES_ROOT\mailto\shell\open\command

im Standardwert steht.

Marco Haffner 10. Sep 2003 17:19

Re: Delphi und Outlook
 
Oder ob bei den Internetoptionen unter Programme Microsoft Outlook als Standard E-Mail-Client eingerichtet ist.
Hab's hier nochmal getestet, und es funktioniert mit Outlook.

Alexander 10. Sep 2003 18:45

Re: Delphi und Outlook
 
Funktioniert auch...
Aber sonst könnte man es noch mit Parametern versuchen...

1PM 10. Sep 2003 23:08

Re: Delphi und Outlook
 
Parameter?

Danke für eure Hilfe! :hello:

Helpliner 11. Sep 2003 00:34

Re: Delphi und Outlook
 
Probiers doch mal so:

Delphi-Quellcode:
ShellExecute(handle, 'open, 'mailto:martin@mustermann.de&Subject=Betreff&bcc=test1@mail.de;test2@mail.de&body=Hallo%20!!', nil, nil, SW_SHOW);
Du musst nämlich eine "An:" Adresse bei Outlook angeben (zumindest bei Office 2000 / XP) sonst verweigert Outlook den Versand.


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:01 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz