Delphi: Send An Email Using The Shell
Join the DZone community and get the full member experience.Join For Free
This call allows you to send an email with a subject and a body. The limitation here is that attachments are not possible. Refer to my previous post for that ability through OLE. This information was found here
uses ShellAPI ShellExecute(0,'open','mailto:email@example.com?subject=HUD&body=Body',NIL, NIL, SW_SHOWNORMAL);
Delphi (programming language) shell
Opinions expressed by DZone contributors are their own.