Open the Default Email Progam to Send Email (Improved Version)

Category:
Network/Internet
Type:
Snippets
Difficulty:
Beginning
Author:
Intelligent Solutions Inc.

Version Compatibility:

More information:
To use this function, you can pass an e-mail address to it, and optionally, a subject or body, e.g.,

OpenEmail "feedback@freevbcode.com", "Hello", "We really like your web site."

This will open the default e-mail program and contstruct a new message to feedback@freevbcode.com, a subject of "Hello", and a message body of "We really like your web site."

You can also use the "mailto:" + the email address if you prefer, and you can omit the subject and/or the body.

Note: This was updated on 03/06/00 to allow for inclusion of the subject and the body.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: