[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

3281.0. "Can't use DELETE_OR_REFILE on INBOX" by GRANPA::BSPANGLER () Wed Sep 15 1993 21:41

    I have modified the 3.0 Mail Janitor to process INBOX documents as well
    as READ and OUTBOX - but it doesn't seem to work.  It won't move the
    qualifying documents to the Wastebasket (using CAB DELETE_OR_REFILE).
    
    At first I thought that perhaps a GET_PENDING was necessary to actually
    create File Cab entries before attempting to move them, so I put that in 
    but it makes no difference.  It also doesn't matter whether the account
    has the delete-new-mail flag turned on or off - another suspected
    culprit.
    
    For a given INBOX document I'm trying to delete, if I select it and use
    either <CAB DELETE_OR_REFILE or <CAB DELETE_DOCUMENT I get,
    
    	You cannot delete that document.
    
    Yet using the D option from the menu works fine, and I don't see in the
    named data that it does much more than the functions I tried.
    
    WHy is this happening, and any ideas for a workaround?
    
    Thanks much,
    
    Bob Spangler
    
    
T.RTitleUserPersonal
Name
DateLines
3281.1Try MAIL DELETEIOSG::MAURICEDifferently hirsuteThu Sep 16 1993 09:2117
    Hi,
    
    To delete INBOX documents it's best to use the MAIL DELETE function,
    whereas the MJU uses the CABINET function. For this to work in another
    user's drawer it will be necessary to have first done a MAIL SET_USER
    function. 
    
    It should also be possible to instead use CABINET RESET_DELETE to
    allow the message to be deleted. You may also need to change the MODIFY
    flag with WRITE CHANGE CAB$, and then use CABINET DELETE_OR_REFILE.
    
    Of the two approaches I would prefer the first, since it will fix the
    user's unread mail count.
    
    Cheers
    
    Stuart