| 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 | 
Hi,
I know this has been discussed in the notes file before, but I would like to ask
again ?
I have a customer who want's to send binary files via X400 from ALL-IN-1 IOS. 
This is done today by importing the files from VMS into IOS without any 
conversion. The imported file is now a foreign file. This file is then sent
form either the WP menu or from the EP as an attachment. In both cases the result
is multiple body parts and I don't want multiple bodyparts. (the recieving X400
system don't like multiple bodyparts - I know that multiple bodies are part of	
the real X400 world).
 
From an old notes file I have read:
IOSG::USER3:[NOTES$LIBRARY]ALL-IN-1_V24.NOTE;1
492.1       AIMTEC::PORTER_T    Is DSAB FOREIGN? 
--------------------------------------------------------------------------------
                             -< Is DSAB FOREIGN? >-
ALL-IN-1 packages foreign documents (a binary file is one instance of a
foreign document) by adding a header to the top of the file so that it will
be transported through the mail system unmodified.
Now to my question:
Can you easily write a small application within IOS which can sent out my binary
file without adding any additional headers and bodies ?
(My customer want's to pay "no limet" if this can be done !!!!)
Any help will be greate
Torben
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 3733.1 | First try | IOSG::MAURICE | I left my heart in Alcatraz | Wed Jan 05 1994 17:04 | 18 | 
|     Once you've got your binary into an ALL-IN-1 document, you then need to
    make it into a mail message. Try the following (only partly tested)
    script:
    
    cab add_attr oa$curdoc, "TYPE", oa$mail_type
    cab add_attr oa$curdoc, "MAIL_STATUS", "UNSENT"
    get oa$curmes = oa$curdoc
    mail subject oa$curdoc_title
    cab add_attr oa$curdoc, "PRIORITY", "FIRST_CLASS"
    cab add_attr oa$curdoc, "DR", "NO"
    cab add_attr oa$curdoc, "RR", "NO"
    .exit
    
    Then go to EM and use the MH option to add addresses.
    
    Good luck!
    
    Stuart
 | |||||