[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::hackers_v1

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

574.0. "Recurring VAXmail w/Dist. List" by AIMHI::SMITH (Never say never, I always say.) Thu Oct 08 1987 17:09

    
    	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.RTitleUserPersonal
Name
DateLines
574.1Use logicals, perhaps?36339::BAILEYyeliaB dE - DTN 255-5273, MDOThu Oct 08 1987 17:353
    Have you tried creating a logical name XXX that equates to "@whatever"?
    
    				Ed
574.2Need double quotesDIMSUM::PWONGDECXtop PublishingThu Oct 08 1987 17:426
	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.3another way worksMTBLUE::PFISTER_ROBAre we having fun yet?Fri Oct 09 1987 08:5111
    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.4DISSRV::NORRISWhat is it, Miss Pfeffernuss?Fri Oct 09 1987 10:2719
    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.