| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 934.1 | Ian wrote it and I saw it work! | AIMTEC::WICKS_A | DEC Mail Works for ME sometimes | Thu Jun 25 1992 17:03 | 8 | 
|  |     Sau Ha,
    
    What's wrong with VMSMAIL IMPORT_FOLDER as documented on page 560 of
    APR ref vol 2?
    
    Regards,
    
    Andrew.D.Wicks
 | 
| 934.3 | Someone in here gave this to me once upon a time | MSDSWS::DUNCAN | I'm in trouble again! | Thu Jun 25 1992 18:37 | 38 | 
|  |     Well, they may not have given it to me, it may have just been in a
    note.  But anyway, here it is again.
    
    Darryl
    
    =======================================
    ! VM_IMPORT.UDP
    
    !  2-Jan-1990, MRL
    
    .fx PROMPT "VAX Mail Source Folder: "
    .if oa$form_dispose ne 2 then .goto exit
    ! Make sure that symbol used is upcased.  Using LOG$... does this
    .fx get LOG$IMPORT_VMS_SYMBOL = OA$PROMPT_TEXT
    .fx get #VMS_FOLDER = LOG$IMPORT_VMS_SYMBOL
    
    .fx PROMPT "ALL-IN-1 Destination Folder: "
    .if oa$form_dispose ne 2 then .goto exit
    ! Make sure that symbol used is upcased.  Using LOG$... does this
    .fx get LOG$IMPORT_A1_SYMBOL = OA$PROMPT_TEXT
    .fx get #A1_FOLDER = LOG$IMPORT_A1_SYMBOL
    
    ! Sanity check
    .if #VMS_FOLDER eqs "" or #A1_FOLDER eqs "" then .exit
    
    .fx OA$FAO "Importing VAX Mail folder !AS into A1 folder !AS . . . ", -
               "OA$DISPLAY", #VMS_FOLDER, #A1_FOLDER
    .fx FORCE
    ! Do it!
    .fx VMSMAIL IMPORT_FOLDER #VMS_FOLDER, #A1_FOLDER /ALL /NOPROMPT
    .exit
    
    .label exit
    
    .fx oa$fld_stay
    .exit
    
     
 | 
| 934.2 | eezy-peezy | BRUMMY::MARTIN::BELL | Martin Bell, TCC, Birmingham UK | Thu Jun 25 1992 18:44 | 9 | 
|  | Sau Ha,
its ded easy, i knocked up a simple form to allow the user to select a VMSmail
folder, and ALL-IN-1 folder to put it in, and an alternate mail file for
wierdos - and it took about 30 mins.
... anyone done it faster?
mb
 | 
| 934.4 | Customer wants more ! | WELCLU::LI | Sau Ha Li, Welwyn | Wed Jul 01 1992 10:14 | 13 | 
|  |     Hello,
    
    Thanks Darrly for the UDP. The customer is happy with it, but now he 
    would like to be able to import a particular mail message, rather 
    than the whole folder.
    
    Is there a quick solution to this ?
    
    I had a look at the VMSmail function and its qualifiers. It doesn't 
    look like it will be as simply as importing a folder.
    
    thanks in advance,
    Sau Ha
 | 
| 934.5 | Not directly, but all things are possible! | IOSG::PYE | Graham - ALL-IN-1 Sorcerer's Apprentice | Wed Jul 01 1992 10:31 | 9 | 
|  |     There isn't a qualifier to do this form the ALL-IN-1 function.
    
    But the customer could MOVE the selected mail message into a temporary
    folder in VMSMail and then do the ALL-IN-1 Import from that folder.
    
    You could automate it by writing a command procedure that went into
    VMSMail and did the move automatically for them.
    
    Graham
 |