Subj : Re: MPL docs?
To   : PSI-JACK
From : G00R00
Date : Thu Jan 31 2019 07:20 pm

Ps> Well, one thing I'd like to do to start simple is an MPL that allows
Ps> directly posting to a Netmail message base, which /should/ always be
Ps> base 1, and then return the user's active message base backt o what they
Ps> had before the netmail, since currently you can't actually send netmail
Ps> without activating that message base exclusively.

This can absolutely be done with MPL.  I am not certain but I think Gryphon
does something like this, and the script I posted yesterday to display a file
whenever someone changes a base shows how it could be done.

The idea is to (if I am not mistaken):

1. Note the current base.
2. Switch to the Netmail base
3. Post to the netmail base
4. Switch back to the original base.

Using what I just posted as a guide, something like:

Uses
 User,
 MBase;

Const
 NetMailBaseNumber = '12';  // Note this is NOT an msg index

Begin
   GetThisUser;

   OriginalBase := UserMBase;

   MenuCmd ('MA', NetMailBaseNumber);
   MenuCmd ('MP', 'whatever options');
   MenuCmd ('MA', OriginalBase);
End;

Note that "netmail base /should/ always be number 1" is wrong.  Mystic
netmail base is not local e-mail.  You choose to create a netmail base for all
networks or one for each, so that you can manage access accordingly.

I know you've suggested Mystic should work like Synchronet, and while I
personally prefer that it does too, voting back in the day determined that
people wanted it separated...

With the idea of reading and posting Netmail from a news client, I also would
one again want to move it back but its a big code change right now that would
break what everyone is already doing.  The Netmail base number(s) are
whatever you've created.

--- Mystic BBS v1.10 A52 (Windows)
* Origin: Sector 7 [Mystic BBS WHQ] (46:1/127)
� Synchronet � thePharcyde_ >> telnet://bbs.pharcyde.org (Wisconsin)