[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

4329.0. "MAIL READ function" by EVTAI1::LEPAUL (Pierre LEPAUL @FCO) Fri Jul 08 1994 14:25

One of my customers has created a new format in FORMAT.DAT.
The list function for this format is associated with a script.
There is an application which sends mail using this format. When a user 
receives the mail, the script is executed.

This person would like the mail not to be read when an account is accessed
by SMU.
To do this, he has added, at the top of the script, the following line

       .if oa$user nes oa$mail_user then .exit

The person does not read the mail but the mail message is refiled in the READ
folder with the status READ.

Is there a way to stop the MAIL READ function refiling the mail after the
execution of the script.


Thanks in advance,

Pierre.
T.RTitleUserPersonal
Name
DateLines
4329.1Needs V3.1IOSG::MAURICEEnd of the road for the Emerald CityFri Jul 08 1994 14:3611
    Hi,
    
    If you are running V3.1 then you should be able to do this by adding:
    
    .if oa$user nes oa$mail_user then GET #EM_LEAVE_IT_NOTED = 1
    
    to your script.
    
    Cheers
    
    Stuart
4329.24329EVTAI1::LEPAULPierre LEPAUL @FCOFri Jul 08 1994 15:2012
        Stuart,
        
        Ok, it's works fine.
        
        My custumer have ALLIN1 version 3.0-A, do you think there is a 
        solution solving my problem with this version.
        
        My customer upgrade in version 3.1, on september.
        
        Thanks,
        
        Pierre. 
4329.3IOSG::MAURICEEnd of the road for the Emerald CityFri Jul 08 1994 15:573
    I'm sorry - I can't think of a V3.0 solution. Maybe someone else can.
    
    Stuart
4329.4Set it back yourselfSHRMSG::HOWARDYes it isFri Jul 08 1994 20:107
    You could always put in a line to refile the document back to UNREAD
    folder.  I would guess that would have to come after the script, but I
    haven't examined it.  As to the status, I never tried modifying that,
    but it sounds doable using CAB ADD_ADDTRIBUTE (I have always used that
    instead of modify because you don't have to specify the old value.)
    
    Ben