Link to home
Start Free TrialLog in
Avatar of tzigan
tziganFlag for Germany

asked on

send E-Mail from Delphi application

How can i send an e-mail from my delphi applications (delphi 5)? OS is W98.
Avatar of Epsylon
Epsylon

The Jedi Code Library has the unit JclMapi to send emails (including attachments).
Get it from http://delphi-jerdi.org page 'Code Library'.
Do not forget to download the help file or you will be lost.
Avatar of tzigan

ASKER

Robert, i can't get connect to the page. can you send me the file? cspziang@de.ibm.com
ASKER CERTIFIED SOLUTION
Avatar of Epsylon
Epsylon

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hello, tzigan.

Thy function ShellExecute:
procedure Button1Click(Sender: TObject);
begin
  ShellExecute(Handle, 'open', 'mailto:someone@somewhere.com?subject=simple message&body=Hello, World!', nil, nil, 0);
end;

Best regards,
Alexey Zverev.
Avatar of tzigan

ASKER

Great, all, spec. Epsylon
Thanks Epsylon, tt was a typo.
alzv, thats the standard solution, but it cannot send attachments.
Thanks.