A routine that uses NO object models, references, dlls, ocxs, or MAPI.
Just a simple API call and the Mailto Protocol.
The ShellExecute function opens or prints a specified file. The file can be an executable file or a document file. This API call coupled with the Mailto protocol is all we need to open your default mailer and send an email, weather your emailer is Outlook, OE, Netscape or anything else (See Open ANY Program).
Mailto Protocol
Available as of Microsoft® Internet Explorer 3.0 or later
Mailto Protocol Internet Development Index
Opens a client's e-mail system.
Syntax
mailto:sAddress[sHeaders]
Note:Within mailto URLs, the characters "?", "=", "&" are reserved.
Tokens
One or more valid e-mail addresses separated by a semicolon. You must use I
Internet-safe characters. Use %20 for the space character.
Optional. One or more name-value pairs. The first pair should be prefixed by a "?"
and any additional pairs should be prefixed by a "&". The name can be one of the
following strings.
Text to appear in the subject line of the message.
Text to appear in the body of the message.
Addresses to be included in the "cc" (carbon copy) section of the message.
Addresses to be included in the "bcc" (blind carbon copy) section of the
message.