[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

3088.0. "Send Mail to ALL-IN-1 User via C program" by ZPOAC3::LCLEE () Thu Jul 29 1993 18:36

    Hi there,
    
    
    Information from ADABAS database running in IBM is transfered via LU6.2
    program to VAX using C.  However, the information is required to be
    mailed to ALL-IN-1 IOS users directly.  How can I use the A1 mailbox
    from message to have the mail sent directly from the C program?  Is
    MRIF the only solution to have the information from the C program to
    the A1 mailbox to ALL-IN-1?  
    
    Appreciate any suggestion and info to achieve the above, ie using C
    program to send mail directly to ALL-IN-1 users without any DCL command
    as interface.
    
    
    Thanks.
    
    
    Regards,
    Lai Chan
T.RTitleUserPersonal
Name
DateLines
3088.1Other conference pointersBUSHIE::SETHIIt's not wise to have wisdom teethFri Jul 30 1993 01:228
    Hi Lai,
    
    You might be better off asking in the MAILbus conference
    FORTY2::MAILBUS or Hackers NOTED::HACKERS.
    
    Regards,
    
    Sunil
3088.2no problemSUOSWS::HAMANNFri Jul 30 1993 08:4910
    Hi,
    
    this is pretty easy.
    
    Invoke your C program in the subprocess of an ALL-IN-1 session and use
    the (VMS-) mailboxes OAMAILBOX and DCLMAILBOX to invoke a script
    for creation of documents and mailing to other ALL-IN-1 users. This is
    all straightforward.
    
    Klaus
3088.3Use FCS if can't use IOSCHRLIE::HUSTONFri Jul 30 1993 14:199
    
    it sounds like invoking from withing ALL-IN-1 may not be an answer, 
    if this is not, then you could always use the FCS, it has a public
    API and if you have IOS installed, you have access to it. It has 
    routines to do anything you would want to the file cabinet, including
    sending mail.
    
    --Bob
    
3088.4Use VMS Mail callable interface?IOSG::CHAPLINAndy ChaplinFri Jul 30 1993 16:0414
    > Appreciate any suggestion and info to achieve the above, ie using C
    > program to send mail directly to ALL-IN-1 users without any DCL
    > command as interface.
  
    If you want to send mail from a standalone C program then you can use
    the VMS Mail callable interface (ie the MAIL routines documented in the
    VMS Utility Routines Manual). The address you would then use to send to
    an ALL-IN-1 user is of the form MRGATE::A1mailboxname::A1username. I
    have some example C code which you are welcome to a copy of if you
    want.  
    
    Is that the sort of thing you were after?
    
    Andy