File.OpenEmail

File.OpenEmail (

string EmailAddress,

number WindowMode = SW_SHOWNORMAL )

Description

Opens the user's default email client with an email address in the "To" field.

Note: If this action fails with the "open" shell verb, it will drop through and try using the default shell verb to open the email message.

Parameters

EmailAddress

(string) The email address that will appear in the "To" field.

Tip: You can automatically fill in the subject field, too. Just type "?subject=" (without quotes) after the email address, followed by the text that you want in the subject line. For example:

"joe@exampledomain.com?subject=Help"

WindowMode

(number) The window mode to use:

CONSTANT

VALUE

DESCRIPTION

SW_SHOWNORMAL

1

Normal. (Default)

SW_MAXIMIZE

3

Maximized.

SW_MINIMIZE

6

Minimized.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions