Title: | -={ H A C K E R S }=- |
Notice: | Write locked - see NOTED::HACKERS |
Moderator: | DIEHRD::MORRIS |
Created: | Thu Feb 20 1986 |
Last Modified: | Mon Aug 03 1992 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 680 |
Total number of notes: | 5456 |
I want to have a job that will mail (VAXmail) out the same message every so often to the same group of people. So far I have the following : $ mail/subject="whatever" filename.txt XXX $ subm/noprin/afte="whenever" filespec_of_this_file $ exit The problem is where the XXX is, it will only take a Username, and not a Distribution List (@dist_list). Will I have to put in all the individual Usernames separated by commas, or is there a way to have it accept a Distribution List? Thanks. Mike
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
574.1 | Use logicals, perhaps? | 36339::BAILEY | yeliaB dE - DTN 255-5273, MDO | Thu Oct 08 1987 17:35 | 3 |
Have you tried creating a logical name XXX that equates to "@whatever"? Ed | |||||
574.2 | Need double quotes | DIMSUM::PWONG | DECXtop Publishing | Thu Oct 08 1987 17:42 | 6 |
Try $ mail/subject="whatever" filename.txt "@<filespec>" The double quotes tell DCL not to expand the @<filespec> and pass the whole string to MAIL. - Paul | |||||
574.3 | another way works | MTBLUE::PFISTER_ROB | Are we having fun yet? | Fri Oct 09 1987 08:51 | 11 |
What I use to do this is the following.... $ mail/subject="Monthly report" monthly_report.txt @report.dis since mail then prompts you for the name (if you'd forgotten it) I suppose it's a kludge, but it works for me Robb | |||||
574.4 | DISSRV::NORRIS | What is it, Miss Pfeffernuss? | Fri Oct 09 1987 10:27 | 19 | |
Paul had it correct, from HELP... recipient-name Specifies one or more users to receive the message. If the file-spec parameter is specified, this parameter is required. A recipient-name is the name that the user uses to log in. If any user is on a remote node, you should precede that recipient-name parameter with the name of the remote node followed by two colons (::). As an alternative to listing the user names, you can specify a distribution list file containing user names. Simply precede the distribution list file specification with an at sign (@) and enclose this construction in quotation marks ("). The file you specify should contain the user names, entered one per line, denoting any remote nodes as described above. If you omit the file type, the default file type is DIS. No wild card characters are allowed in the distribution list file specification. |