Mastodon
Programmierung

Open Outlook EMail Form

Deane Hafling wrote in message <7kdna0$ rs83@forums.borland.com >…
>How can I call up the Outlook New E-mail Form???
>
>I am looking at the outlook_tlb.pas right now and can’t figure out how to
>call it up. Any suggestions???

[code lang=”delphi”]procedure TForm1.cmdProperLineBreaksClick(Sender: TObject);
var
S : String;
begin
S := ‘mailto:SomeAddress’ +
‘?Subject=Testing’ +
‘&cc=Goofy’ +
‘&bcc=Shagme’ ;
ShellExecute(0, nil, PChar(S), nil, nil, SW_SHOWDEFAULT) ;
end;
[/code]

[tags]Delphi, EMail[/tags]

0 Kommentare zu “Open Outlook EMail Form

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht.