Over a million developers have joined DZone.

Delphi: Send An Email Using The Shell

DZone's Guide to

Delphi: Send An Email Using The Shell

Free Resource
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:johndoe@hotmail.com?subject=HUD&body=Body',NIL, NIL, SW_SHOWNORMAL);

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}