User Tools

Site Tools


mutil_post_text_files

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
mutil_post_text_files [2016/04/03 04:04] – created avonmutil_post_text_files [2016/04/03 04:30] – post text files to message bases - updated avon
Line 1: Line 1:
 ==== Post text files to message bases ====  ==== Post text files to message bases ==== 
  
-The '[PostTextFiles]' stanza tasks MUTIL +The '[PostTextFiles]' stanza tasks MUTIL with posting a text file(s) to a message base(s).
  
-xx+This can be a useful tool if you wanted to automate an announcement to an Echomail area. Fir example a weekly posting of an advertisement about your Mystic BBS to a message base(s) of your choosing.
  
 To enable this function you modify the '[general]' stanza as follows: To enable this function you modify the '[general]' stanza as follows:
- 
  
   [general]   [general]
      
   PostTextFiles           = true   PostTextFiles           = true
 +
 +You begin by defining the total number of text files to be posted when MUTIL is run.  
 +
 +  totalfiles = 2
 +
 +There are a number of switches to define when setting this function up. This needs to be done for each file you have defined in the line above. Let's have a look at the switches in detail:
 +
 +The name of the file you wish Mystic to post.
 +
 +  file1_name    = myfirstfile.txt
 +
 +The permanent index of message base to post to.
 +
 +The baseidx is the permanent index of the message base to post the message into (shown as Index at the top of the message base editor in Mystic's configuration.
 +
 +  file1_baseidx = 2
 +
 +Who the post is from.
 +             
 +  file1_from    = Sysop
      
 +Who the post is addressed to.
 +        
 +  file1_to      = All        
 + 
 +The subject of the post.
  
-  ; name of the file to post +  file1_subj    = My subject 
-    file1_name    myfile.txt + 
 +The network address of the posting system. 
 + 
 +  file1_addr    0:0/0 
      
-  ; permanent index of message base to post to   +Should Mystic auto delete the source text file after posting it's contents to the message base
-    file1_baseidx 2 + 
-   +  file1_delfile = false 
-  ; who this post is 'from'             + 
-    file1_from    = Sysop +You repeat this format within the stanza for each file you wish Mystic to post. For example: 
-   + 
-  ; who this post it 'to' +  file2_name    mysecondfile.txt    
-    file1_to      = All +  file2_baseidx = 2             
-   +  file2_from    = Sysop         
-  ; the subject of the post          +  file2_to      = All           
-    file1_subj    = My subject +  file2_subj    = My subject    
-   +  file2_addr    = 0:0/0         
-  ; network address of the sender  +  file2_delfile = false        
-    file1_addr    = 0:0/0 +
-     +
-  ; mystic to auto delete file after posting?       +
-    file1_delfile = false +
-    +
  
mutil_post_text_files.txt · Last modified: 2019/03/24 04:56 by g00r00

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki