| 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 | 
    If I have a .COM with
    
    $alli/noinit/reenter
    oa$ini_init
    mail send sys$login:fred.txt
    exit
    
    and in fred.txt I have 2 pages separated by a <FF>.  If I 
    do DT RV, the formfeeds are translated to a new page.  However,
    when I read the mail message produced by the .com file, the 
    formfeeds are not included.
    
    If I <list sys$login:fred.txt, a new page is produced.  If I 
    <include the file in a boilerplate and then <merge it, the 
    formfeed is produced too.
    
    Does MAIL SEND understand formatting in any way or is it purely
    a means of mailing documents or files?
    
    Thanks
    julia
    UK CSC 
    
    
    
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 1895.1 | I never knew you could do that with MAIL SEND! | SCOTTC::MARSHALL | I'd rather be skiing | Thu Dec 03 1992 17:35 | 14 | 
| Hi, As MAIL SEND looks in the file being sent for "mail header" information, such as recipients, subject, etc, and thus has to read the file record-by-record, it seems quite likely that it "loses" form-feeds, etc. I expect they just get treated as record-separators. MAIL SEND, used in this way, seems to be intended as a cheap-and-cheerful way to send mail prepared outside ALL-IN-1. It might be better to write a script to create a "proper" mail message in ALL-IN-1, getting its text from your VMS file. That way you'd keep the formatting of the file (as you found with DT RV, etc) Scott | |||||
| 1895.2 | A older memory recalls ... | AIMTEC::WICKS_A | Soon: warm beer, football, rain | Thu Dec 03 1992 18:27 | 18 | 
|     Julia,
    
    This particular use of MAIL SEND goes way back to the old DEcmail 
    and ALL-IN-1 v1.* days (he says reading from an ALL-IN-1 v1.1 manual
    page 104) and is even still documented in the v3.0 APR with almost the same
    text.
    
    The loss of form-feeds and line-feeds used to be a known bug
    - obviously it is no longer known (:==:)
                  
    Interestingly I just tried your test on a version of ALL-IN-1 that i'm
    not allowed to talk about and not only did I lose the ff but I also
    lost all the text after the FF (a priority 1 bug?) - maybe I'll have to
    dust off an SPR form?
    
    regards,
    
    Andrew.D.Wicks
 | |||||