DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Delphi: Send An Email Using The Shell
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 <a href="http://delphi.about.com/od/windowsshellapi/a/executeprogram.htm">here</a>
uses ShellAPI ShellExecute(0,'open','mailto:johndoe@hotmail.com?subject=HUD&body=Body',NIL, NIL, SW_SHOWNORMAL);




