home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 28
/
amigaformatcd28.iso
/
-seriously_amiga-
/
comms
/
other
/
aemail151
/
files.lha
/
ARexx.lha
/
Addtogrp.readme
< prev
next >
Wrap
Text File
|
1998-03-21
|
3KB
|
71 lines
Name: Addtogrp.aem
TO BE USED BY REGISTERED USER'S ONLY
This ARexx script is used to add To: and cc: names from a received
message to a group entry in the Address Book. This is particularly useful
when there are multiple to: and cc: addresses.
HOW TO IMPLEMENT
----------------
This script is probably best placed in your REXX: directory. If you wish
to modify this script please note the following items:
"name1" is used as a variable instead of "name". If "name" were used
the AEMail ARexx command "NEXT NAME" would not execute properly
since NAME would be interpreted as the "name" variable.
Note the use of "'" surrounding the name1 variable. This will pass the
single quote to AEMail surrounding the name extracted from the To:
or "cc:" string. AEMail will strip the single quote preserving any
double quotes which might surround the name. If you were to use
'"' instead of "'", the proper action would not occur.
HOW TO USE
----------
Before you start the script you will need to display (or select) the
message that has the multiple To: or cc: addresses. If a message is not
selected you will get an error that says "No message is selected".
When the script is called you will be prompted for a group nickname. If
the group nickname does not exist you will be asked if you want to create
it, enter a new name, or cancel. If you wish to create it, the group will
be created when the first email address is processed. You will be
immediately prompted, however, for the Group Description and if you want to
set the Send Header Only flag when the group is created. If you want
quotes surrounding the group description, they should be entered with the
group description string.
If the nickname is already used for an individual, you will be given an
opportunity to reentering the nickname or cancelling.
If you cancel the "Enter Group Nickname" requester or one of the error
notifications, you will exit from the script and will have to restart it.
You will always add the To: string to the Address Book. After all of the
To: addresses are added and if there is no cc: addresses the following
message will be displayed:
Last To: Name added - no cc: names
and the script will end after clicking on "CONTINUE"..
If there is a cc: address string you will see the following message
displayed?
Do you want to add cc: names?
You will be given a choice of YES or NO. Clicking on NO will terminate the
script.
Clicking on YES will add the cc: names to the Address Book. After the last
cc: address is added the following message will be displayed:
Last CC: Name added
and the script will end after clicking on "CONTINUE".