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

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

3212.0. "MAIL FUNCTION know how" by ZPOVC::CHINGYUE () Tue Aug 31 1993 03:52

    Hello...
    
    Could anyone explain with a working example as to how to use
    MAIL FUNCTION "function".
    
    I've tried <MAIL FUNCTION "OA$DISPLAY hello" and other "functions"
    but always end up with error message;
    
    "Unknown function command specified on unread message"
    
    after reading the new mail.
    
    Thanks.
    ching-U
T.RTitleUserPersonal
Name
DateLines
3212.1IOSG::MAURICEDifferently hirsuteTue Aug 31 1993 09:4217
    Hi,
    
    In module OAGBL.BLI there is a table of functions that may be added to
    a mail message. There's only six (DO is commented out), and of these
    only the two CALREMOTE functions are still in use. These latter
    functions are used by Time Management, which adds them in code rather
    than scripts, so there are no examples I can point you to.
    
    You are permitted to add new functions to the list, but you need to
    consider that all nodes that receive the message may need to be
    customised to have the mail function. You also need to consider whether
    you are introducing a security problem (which is why the DO function
    wwas commented out).
    
    Cheers
    
    Stuart
3212.2Un-comment and re-link ?ZPOVC::CHINGYUETue Aug 31 1993 12:299
    Stuart,
    
    Does that mean that if I were to UN-comment the DO function and 
    re-link ALL-IN-1, I should be able to use it ?
    
    Example,  <MAIL FUNCTION "do oauser:test.scp
    
    Thanks.
    ching-U
3212.3SIOG::T_REDMONDThoughts of an Idle MindTue Aug 31 1993 13:595
    You'll have to recompile OAGBL.BLI first, and then replace it into
    OALIBR.OLB (or SITEOALIBR.OLB in V3.0, of course, you'd do this through
    CM then), and then relink ALL-IN-1!
    
    Tony
3212.4IOSG::MAURICEDifferently hirsuteTue Aug 31 1993 14:0010
    Re .2
    
    >     Does that mean that if I were to UN-comment the DO function and
    >     re-link ALL-IN-1, I should be able to use it ?
    
    Yes - but do bear in mind that is NOT recommended for security reasons.
    
    Cheers
    
    Stuart
3212.5use twice the DO word...TAV02::SHAPIRAWed Sep 01 1993 17:5511
>    
>    Example,  <MAIL FUNCTION "do oauser:test.scp

     ching-U,

     To save you time, after the change in OAGBL.BLI, as Tony stated, the
syntax should be <MAIL FUNCTION "DO DO OAUSER..." (2 DO !) at least that's what
I have found the hard way.

    Regards, Yariv.