[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | *OLD* ALL-IN-1 (tm) Support Conference |
Notice: | Closed - See Note 4331.l to move to IOSG::ALL-IN-1 |
Moderator: | IOSG::PYE |
|
Created: | Thu Jan 30 1992 |
Last Modified: | Tue Jan 23 1996 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 4343 |
Total number of notes: | 18308 |
398.0. "Sending mail to a Distribution List from a script" by CHEFS::LEEB () Thu Apr 02 1992 14:56
Hi,
Can aybody help with a problem I have sending mail to a distribution
list from an ALL-IN-1 script.
The script creates a .TMP file using MERGE. When the mail destination
is a valid mail address everything worke OK. When the destination is a
distribution list the mail message is only sent to the first name on
the list. When the message has been sent the copy in the OUTBOX has all
the names from the distribution list shown undef TO:. The mail as
received also shows all the names from the distribution list, but in
reverse order.
The code in the script used to send the mails is:
GET #A_MAIL="MAIL CREATE/NOSEND/NOEDIT/OPEN/TEMPLATE=A_MAIL.TMP"
GET OS$FUNCTION=#A_MAIL
GET OA$FUNCTION="MAIL SUBJECT" #A_SUBJ
GET OA$FUNCTION="MAIL TO" #A_DESTINATION
GET OA$FUNCTION="MAIL EXPAND_DIST_LIST"
MAIL CLOSE_MESSAGE
MAIL SEND
Any ideas / suggestions gratefully received.
Thanks
Barrie
T.R | Title | User | Personal Name | Date | Lines
|
---|