DelphiFAQ Home Search:
General :: Programming :: Delphi :: Network
Network (local network and Internet) programming under Windows with Delphi.

Articles:

This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Featured Article

Send email from Delphi

It can be so easy to have your application pop up an email window.. assuming that a mail reader is installed (see below):

(Thanks to Kevin for improving the code with the body= parameter.)

uses
   ShellAPI;
 	
 begin
   ShellExecute(0,'open','mailto: peter@preview.org?subject=my subject&body=my message text',
                NIL, NIL, SW_SHOWNORMAL);
 end

Generated 8:01:21 on Apr 24, 2018