Xbasic

UI_GET_EMAIL_TEMPLATES Function

Syntax

Output_String as C = ui_get_email_templates([L external ])

Arguments

Output_String

The name of the selected email template. The value will be NULL if the user did not select a template or clicked Cancel.

external

Optional. Default = .F.

.T. = Display Select Email Template dialog box to select a .TXT file.
.F. = Display a list of internal email templates.

Description

Prompt for the name of an e-mail template. External = .t. shows templates in text files. Default shows templates in dictionary.

Discussion

The UI_GET_EMAIL_TEMPLATES() function prompts for the name of an email template. Email templates can be saved from within the Alpha Anywhere email client.

Example

dim prof as C
prof = ui_get_email_templates()
? prof
= "Ed"

Limitations

Desktop applications only.

See Also