Using your default mailer
Ivan F Moala
Can Do
Visits here
Goto Guest book sign in page [Home]
Greatest place to be
Thanks for visiting my site lucky visitor:
Copyright © 2002. XcelFiles. All Rights Reserved Ivan F Moala
Tell a friend about this page
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 IInternet-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.
Google
Search WWW Search My Site!

My thanks to Mark O'Brien for alerting me to the frustrating fact that the code pages do NOT copy, if at all

[COPY FRIENDLY PAGE]
Note:
Using this Method you are limited to the amount of text you can send. Depending on Tokens used approx 240 characters.
See here for a work around (Applies to Outlook Express ONLY)
If you cannot see any Code in the code window below then Click here
Why Donate?
This page was last updated on: September 23, 2003