[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

151.0. "Programming: Using the MAIDES field in PROFIL" by ROM01::NEGRO (Paola Negro EIS-Swas Roma) Mon Mar 02 1992 17:13

    I'm trying to develop an application that make use of the MAIDES profile 
    field,  but I've got some programming problem...
    
    My goal is to be able to do take different actions upon receiving different
    kinds of mail (using the subject field): if it's 
    a particular subject i've to run an all-in-1 script, in all the other 
    cases i've to forward the mail to a Distribution list.
    
    The problem is forwarding to this distribution list: i've tried with
    this command (more or less) in the .COM procedure, spedified in the
    MAIDES:
    
    ...
    $ write oamailbox "oa mail forward @dist"
    $ @dclmailbox
    ...
    
    but it doesn't work.
    
    Does anyone know if i've to do something other before forwarding the
    message?  
    Is there another way to do this?
    The only thing i was able to do, was putting an entry in the pending
    file for each user in the distribution list, that is
    
    ...
    $ write oamailbox "oa cab put_pending ..."
    ...
    
    but it's not a good solution!
    
    I hope someone could  help me!
    
    Paola Negro
    
T.RTitleUserPersonal
Name
DateLines
151.1Wot no reply from Scott!AIMTEC::WICKS_AVote Bill'n'Opus for a weirder USAMon Mar 02 1992 19:2716
    Paola,
    
    Firstly you must begin by spelling the product name correctly as you
    will notice the gentle reminder when you open this conference.
    The product name is of course ALL-IN-1.
    
    Secondly, you can't use MAIL FORWARD in quite the way you want to
    unless you add the /NOSEND qualifier. You need this because you have to
    expand the distribution list yourself using MAIL EXPAND_DIST_LIST.
    
    So whereas MAIL FORWARD "account-name" will work for a single user, for a 
    DL you need to do: MAIL FORWARD "@DL", MAIL EXPAND_DIST_LIST, MAIL SEND.
    
    Regards,
    
    Andrew.D.Wicks
151.2Steal from the very bestSIOG::T_REDMONDThoughts of an Idle MindMon Mar 02 1992 19:507
    I believe a number of ASSETS packages might help you. Try MYMAIL or the
    Mail Filter for a start. Then perhaps look at the ALL-IN-1 Personal
    Assistant (which isn't available from ASSETS). These packages all deal
    with mail in one shape or another and can provide some prototype code
    that you can adapt to your own needs.
    
    Tony
151.3ThanksROM01::NEGROPaola Negro EIS-Swas RomaTue Mar 03 1992 09:016
    Sorry for my "all-in-1" and thanks a lot for your suggestions.
    I'm going to try!
    
    Bye.
    
    Paola