NetMail/3000 Menu Interface
Users Guide
2-87
prompts in your batch job.From the previous example, we’ll go through the sample job line by
line.
1)!JOB user.acct1
2)!RUN NETMAIL.SYS.THREEK;INFO=”SEND”
3)
4)ADD
5)This is a sample message which came from a batch
6)job! enjoy.
7)//
8)E
9)
10)Message subject...
11)MANAGER
12)//
13)!EOJ
Line 2 actually runs the NetMail/3000 user agent. The INFO string provided here tells
NetMail/3000 to send a message, then terminate. Commands aren’t case sensitive, and any param-
eters legal to provide on the same command line are allowed.
Line 3 is where NetMail/3000 prompts for the name of the file to send. You could just as
easily have provided a filename here that already existed and have that sent as a message (it must
be ascii text though). In this example we want to compose a message in the job stream so we’ll
leave a blank line (just like hitting RETURN to the filename prompt). If the file was provided, the
following lines (the editor commands) would not be appropriate, and the dialogue would skip
directly to the prompt asking for a file to attach.
Lines 4 through 8 are editor commands and text being supplied to generate the text of the
message. The “E” ends the editor, and in batch mode, there is no “OK TO PURGE OLD...”
prompt, so no “YES” is required.
Line 9 is the prompt for a file to include. This prompt continues asking for filenames until
a blank line (or carriage return with no data if interactive) is entered. In this example we’re not
attaching any files to the message, though any valid MPE filename could be entered here if
desired.
Line 10 is the response to the prompt for the subject of the message. This is a one-line
response of up to 80 characters and can be anything you choose.
Line 11 is the response to “To:”, asking for a message recipient. Recipients are entered just
as they would be interactively. One response per line, and the program will continue prompting
for recipients until a blank line is entered, or a “//” or “////”. If a blank line is entered, the program
goes on to prompt for carbon copy (cc) recipients until a blank line, “//”, or “////” are entered.
Likewise after the cc recipients are entered, the program will begin prompting for blind carbon
copy (bcc) recipients. When all the bcc recipients have been entered, the program will then termi-