Einzelnen Beitrag anzeigen

Benutzerbild von fkerber
fkerber
(CodeLib-Manager)

Registriert seit: 9. Jul 2003
Ort: Ensdorf
6.723 Beiträge
 
Delphi XE Professional
 
#6

Re: E-Mail aus Programm senden

  Alt 23. Apr 2006, 22:58
Hi!

Zitat:
Send an e-mail with the subject and the message body


Delphi-Quellcode:
var em_subject, em_body, em_mail : string;
begin
  em_subject := 'This is the subject line';
  em_body := 'Message body text goes here';

  em_mail := 'mailto:delphi.guide@about.com?subject=' +
    em_subject + '&body=' + em_body ;

  ShellExecute(Handle,'open',
    PChar(em_mail), nil, nil, SW_SHOWNORMAL) ;
end;
http://delphi.about.com/od/windowssh...uteprogram.htm


Ciao Frederic
Frederic Kerber
  Mit Zitat antworten Zitat