![]() |
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 |
Re: Delphi und Outlook
*hm* :freak:
|
Re: Delphi und Outlook
Zitat:
was funktioniert denn nicht? |
Re: Delphi und Outlook
Zitat:
Delphi-Quellcode:
ShellExecute(0, nil, 'mailto:?bcc=test1@mail.de;test2@mail.de&Subject=Betreff&body=Hallo%20!!', nil, nil, SW_SHOW);
|
Re: Delphi und Outlook
Es öffnet Outlook nicht, obwohl es als Standartclient definiert ist.
|
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. |
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. |
Re: Delphi und Outlook
Funktioniert auch...
Aber sonst könnte man es noch mit Parametern versuchen... |
Re: Delphi und Outlook
Parameter?
Danke für eure Hilfe! :hello: |
Re: Delphi und Outlook
Probiers doch mal so:
Delphi-Quellcode:
Du musst nämlich eine "An:" Adresse bei Outlook angeben (zumindest bei Office 2000 / XP) sonst verweigert Outlook den Versand.
ShellExecute(handle, 'open, 'mailto:martin@mustermann.de&Subject=Betreff&bcc=test1@mail.de;test2@mail.de&body=Hallo%20!!', nil, nil, SW_SHOW);
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:27 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz