home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HomeWare 14
/
HOMEWARE14.bin
/
netutils
/
pmail311.arj
/
RESOURCE.ZIP
/
ENHANCED.R
< prev
next >
Wrap
Text File
|
1993-08-22
|
3KB
|
123 lines
#
# ENHANCED.R
# Sample programmable mail form for Pegasus Mail v3.0
# Copright (c) 1993, David Harris, All Rights Reserved.
#
# You are granted the right to modify and distribute this
# form in any way you wish provided you do not sell it or
# any derivative either on its own or as part of any other
# package.
#
# By using this form you agree to hold the author blameless
# for all or any damages or losses resulting from its use.
#
# This form implements a standard message editing screen
# with more options than usual.
#
include defines.rh
include forms.rh
string form_title "Expanded Message Editor";
window fwindow # The window in which the form appears
{
1, 1, 80, 25, BBLUE | LIGHTGREY | wplain,
BBLUE | LIGHTGREY, ' ', BSINGLE,
" Send Message: Editing Screen "
};
block field_text
{
2, 1, BBLUE | LIGHTGREY,
"To :",
"Subj :",
"Cc :",
"Copy self? : Confirm reading? : Urgent? :"
};
data to # The "to" field when sending files or messages
{
10, 1, 65, 179, 0, 0, 0, GT_STRING, GNOCLEAR
};
data subject # The "subject" field when sending files or messages
{
10, 2, 63, 64, 0, 0, 0, GT_STRING, 0
};
data cc # The "to" field when sending files or messages
{
10, 3, 65, 179, 0, 0, 0, GT_STRING, GNOCLEAR
};
data cs
{
15, 4, 1, 1, 0, 0, 0, GT_BOOLEAN, 0
}
data rqc
{
38, 4, 1, 1, 0, 0, 0, GT_BOOLEAN, 0
}
data urgent
{
53, 4, 1, 1, 0, 0, 0, GT_BOOLEAN, 0
}
text subject_help
{
" The Subject Field \n",
"The subject is a one-line précis of the contents of the\n",
"message which will be displayed in the recipient's browse\n",
"list. You may leave this field blank, but it is considered\n",
"good e-mail etiquette to provide a meaningful subject."
};
line xline_1
{
0, 5, 80, 0, LIGHTGREY, '─'
};
line xline_2
{
0, 21, 80, 0, LIGHTGREY, '─'
};
line xline_3
{
1, 20, 80, 0, BLIGHTGREY, ' '
};
editor message
{
1, 6, 77, 14, 70, 0, 0, BBLUE | LIGHTGREY
};
block help_text
{
1, 22, dim | wcentre,
"F1-Help F2-Local user lists F3-Address books F6-Distribution lists",
"F7-File attachments F9-More options Ctrl-Enter-Send the message"
};
formtable formdata
{
# Name........ Correlation. Help text.... Validation... Status...... Default
fwindow, F_WINDOW, 0, 0, 0, 0,
field_text, 0, 0, 0, 0, 0,
help_text, 0, 0, 0, 0, 0,
xline_1, 0, 0, 0, 0, 0,
xline_2, 0, 0, 0, 0, 0,
xline_3, 0, 0, 0, 0, 0,
to, F_TO, 0, 0, 0, 0,
subject, F_SUBJECT, subject_help, 0, 0, 0,
cc, F_CC, 0, 0, 0, 0,
cs, F_COPYSELF, 0, 0, 0, 0,
rqc, F_READING, 0, 0, 0, 0,
urgent, F_URGENT, 0, 0, 0, 0,
message, F_MESSAGE, 0, 0, 0, 0
};