[nos-bbs] Forward From a File

Charles J. Hargrove n2nov at n2nov.net
Thu Aug 17 13:43:43 EDT 2023


mailmsg  <to_addr> ["<subject>"] "msg"

Mail a message to <to_addr> from <msguser>@<Hostname>. <msguser> can be 
set in the DOS environment (Set MSGUSER=<any_user_name>), and defaults 
to "sysop" if not set in the environment.  <subject> is optional, and 
must be quoted if it contains whitespace characters.  <msg> is either a 
string to be placed in the body of the message (quoted if it contains 
white-space characters) or the path to a file to be placed in the 
message body. A path must begin with forward or backward slashes, or a 
drive specification, otherwise it is taken to be a <msg> string.  This 
command is available if JNOS is compiled with MAILMSG #define'd.

Couple of examples :

      mailmsg n5knx "don't forget!"  "replenish the Cardhu"

      at 0400 "mailmsg jpd at usl.edu /stats.out+"

Note: the bm.exe program is often used to originate smtp messages in an 
automatic fashion, but requires that JNOS be shelled-out to run, and it 
is possible that memory may be insufficient to do this.  An alternative 
might be to use the mailbox "send" command, perhaps in conjunction with 
the upload command (to send a file), but this can't be easily automated. 
Hence the introduction of the mailmsg command.

-- 
Charles J. Hargrove - N2NOV
NYC-ARECS/RACES Citywide Radio Officer/Skywarn Coord.

NYC-ARECS/RACES Nets 441.100/136.5 PL
ARnewsline Broadcast Mon. @ 8:00PM
NYC-ARECS Weekly Net Mon. @ 8:30PM
http://www.nyc-arecs.org

NY-NBEMS Net Saturdays @ 10AM & USeast-NBEMS Net Wednesdays @ 7PM
on 7.036 Mhz USB (alt 3.536)/1500 hz waterfall spot; MFSK-16 or 32

"Information is the oxygen of the modern age. It seeps through the walls 
topped
by barbed wire, it wafts across the electrified borders." - Ronald Reagan

"The more corrupt the state, the more it legislates." - Tacitus

"Molann an obair an fear" - Irish Saying
(The work praises the man.)

"No matter how big and powerful government gets, and the many services it
provides, it can never take the place of volunteers." - Ronald Reagan



More information about the nos-bbs mailing list