[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

1142.0. "When does .COM for address get executed..." by TAV02::CHAIM (Semper ubi Sub ubi .....) Wed Jul 29 1992 15:03

According to the application guide it is possible to have both a .CMU file (at
address entry time) and a .COM file (at send time) for an addressee. 

My question is:

Assume I have a FAX.CMU which will invoke a form etc. when a user enters FAX at
the TO/CC and builds and address which looks something like:

Remote Addressee               ( FAX:,!02519486++CHAIM@FAXMBX )

I also have a FAX.COM for sending. 

After the originally entered address of FAX has been changed to the above will
the FAX.COM be executed?

Thanks,

Cb.
 
T.RTitleUserPersonal
Name
DateLines
1142.1IOSG::WDAVIESThere can only be one ALL-IN-1 MailWed Jul 29 1992 17:124
    No its when it gets sent - either in express mail in the users context,
    or in the postmasters context.
          
    Winton
1142.2Under what circumstances ...TAV02::CHAIMSemper ubi Sub ubi .....Thu Jul 30 1992 11:5711
Re .1

I am aware that a .COM file is executed at Send time. My question is under what
circumstances will this execute. If during the execution at Create time the
.CMU file changed the address from FAX to FAX!12345++@FAXMBX, will FAX.COM be
executed at Send time?

Thanks,

Cb.

1142.3Well, there may be a problem here . . .IOSG::SHOVEDave Shove -- REO-D/3CThu Jul 30 1992 16:3211
    Well, it's supposed to be. As long as there is a suitable delimiter
    between the part of the address that is an entry in the local profile
    file (FAX in your example) and the rest of the string. I think the
    guide uses _
    
    However, this seems to have got broken in v3.0. I'm surprised that we
    haven't had any bug reports about this.
    
    I'll do some more checking later (may have to be tomorrow).
    
    Dave.
1142.4It does work, but only with underscoreIOSG::SHOVEDave Shove -- REO-D/3CFri Jul 31 1992 17:0322
    Well, I've looked at this again.
    
    The answer is that the Guide is slightly mis-leading.
    
    It gives _ as an example of the delimiter between the part of the
    address that can be looked up in the profile and the rest of the
    string. In fact, _ is the ONLY delimiter that will work - the code
    tests for it explicitly.
    
    So if your .CMU returns
    
    FAX_number!string!name!whatever
    
    it will work.
    
    One thing though - it's probably a good idea to avoid having any @'s in
    the string, as ALL-IN-1 tests for the presence of an @ before it does
    the rest of the testing. Seeing the @, it will assume that the message
    is to go remote and try to use the sender to send it via message
    router!
    
    Dave.
1142.5And the latest book does in fact say soIOSG::SHOVEDave Shove -- REO-D/3CFri Jul 31 1992 17:249
    Well, it turns out that this has been corrected in the v3.0 Guide. It
    now says that you can only use a _, and the explanation of how it all
    works has been re-written and is much clearer (I can safely say this,
    since I wrote the original explanation back in about 1983!)
    
    Dave.
    
    (Now the real question - who _is_ BURNETT anyway? Small prize for the
    correct answer - by mail please; don't clutter up this conference!)